4 ms·
It is not unicorns either. * Transforming a collection means doing boring for loops instead of one-liners. * interfaces/duck typing is great. But hey, []interf
by dmacvicar 11y ago
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.
- sacado2 11y agoYep. I've been bored by the fact that putting an []int into an []interface{} doesn't work, too (although the reason is obvious).