News for hackers. Stuff that matters.
Re:Confession From a Go Programmer by dkuntz2 on Thursday January 23, 2014 @12:59PM (#7109804)
You only lose type safety if you're writing generic containers. If you don't need a customStack or something similar you'll be fine.

While I think it's good to know how to write containers, and how they work, how frequently do you really need to write a custom container? What's wrong with the built in ones (provided they exist)?

Re:Confession From a Go Programmer by dilap on Thursday January 23, 2014 @01:13PM (#7109918)
Yes, didn't mean to imply you lose all static type safety -- you're still way better off on that front than in a language like Python or JavaScript. Basically, if you're happy with a dynamic language, Go makes things better most of the time, but sometimes you have fall back to dynamic checking, because of the lack of generics.

Custom containers: Well, it's definitely true that you can get pretty far with just arrays and hash tables -- which Go special-cases! -- but you're probably gunna want something fancier eventually...