r, err:= fn()
Compiles if r is already declared. Creates a new lexical scope that has no access to the outer r. So the outer r doesn't get set. And I get a bug!Ask HN: What did you find out or explore today?
61–70 of 446 posts
Re: Ask HN: What did you find out or explore today?
#62Re: Ask HN: What did you find out or explore today?
#63Re: Ask HN: What did you find out or explore today?
#64Also that Newfoundland has a pretty unique music tradition, that captures what irish music sounded before the Great Famine
Re: Ask HN: What did you find out or explore today?
#65Re: Ask HN: What did you find out or explore today?
#66If anyone has any experience with this, please do chime in :)
Re: Ask HN: What did you find out or explore today?
#67I found out it's easy to write Swift/Appkit apps without the dumpster fire that is Xcode! It turns out it's really easy to do it with good old `make`.
Re: Ask HN: What did you find out or explore today?
#68I found out that reading 900 wpm and actually comprehending what you are reading is actually possible and not that difficult at all.
Re: Ask HN: What did you find out or explore today?
#69I also learned that on Aug 12th this year a total eclipse of the sun can be observed from certain parts of Spain.
Re: Ask HN: What did you find out or explore today?
#70I’m reading Domain Driven Development and learning why so many of my projects have been tough to maintain. I also recently learned that you can get ancient coins for very little money if you don’t care about resale value or need them to be in pristine condition. I bought some coins from kingdoms that I’d never heard of. Many are thousands of years old! It’s fun holding a piece of history like that.