Re:Nil in Go is typed in theory and sort of untyped in practice
by esrauch on Wednesday March 31, 2021 @11:59PM
(#26656552)
I don't actually subscribe to the "JS is a bad language" meme (and maybe the meme has died off a bit, partially thanks to typescript), but implicit coercion is one thing that people cite, with behavior exactly like that nontransitive Golang case.
Also see this minitalk (which actually gets some things wrong because of confusion on how the terminal interpreter behaves but is still amusing):
https://www.destroyallsoftware.com/talks/wat
Also see this minitalk (which actually gets some things wrong because of confusion on how the terminal interpreter behaves but is still amusing): https://www.destroyallsoftware.com/talks/wat