Wednesday, August 16, 2023

Iterators in GoLang

 Iterators in Go — Bitfield Consulting

for _, v := range Items() {
  ... // do something with v
}

An iterator is just a function, but with a particular signature. For example

func iterateItems(yield func(Item) bool) bool {
  items := []Item{1, 2, 3}
  for _, v := range items {
    if !yield(v) {
        return false
    }
  }
  return true
}



Virtual Real Estate market? (web3)

Why on earth are people paying for digital real estate? (Ep. 587) - Stack Overflow Blog podcast

"VerseProp is a digital real estate platform where users can buy, sell, and rent virtual properties.

New to the concept of digital real estate? The Motley Fool has a useful primer for you.

If you need to brush up on your investment terms, a supercycle is “a sustained period of expansion, usually driven by robust growth in demand for products and services.”


Joel is on LinkedIn. Will is on LinkedIn.
Follow VerseProp on Twitter, where the team welcomes questions.