Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's really good that it's so dumb that you don't need to jump through hoops to think of the way to do it. Clever! Just code and go!


It is not unicorns either.

* Transforming a collection means doing boring for loops instead of one-liners. * interfaces/duck typing is great. But hey, []interface{} does not fit into interface{}. * Structs with fields are encouraged, but there is no uniform Uniform access principle and that sucks. * etc

But definitely, my own "science" confirms that it turned to be out less of a problem (for my own usage) compared to better languages with more friction.


Yep. I've been bored by the fact that putting an []int into an []interface{} doesn't work, too (although the reason is obvious).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: