News for hackers. Stuff that matters.
Re:Write code. Not too much. Mostly functions. by noisy_boy on Tuesday December 22, 2020 @07:00AM (#25505428)
I recently had to write some Go code and coming from Java/Scala world, actually the "err != nil" thing didn't bother me as much as I thought it would. In fact I liked the explicitness of error handling. However, lack of enums really puzzled me; how is having to go through "iota" hoops simpler than "enum Name { ... choices ... }"? I did like the batteries included approach though - I could build the entire component purely using standard library - not having to deal with importing requests and creating virtualenv etc was refreshing.

There are no comments on this comment yet.