DEV Community

Discussion on: Learn Go by writing tests

Collapse
 
quii profile image
Chris James

Thanks!

Im not sure it being statically typed is a reason for no default values, kotlin, scala and many others have it.

I guess in Go's eyes they value explicitness over developer convenience in this case. That's not to say either is right or wrong, just an opinion on language design