3 ms·
Maybe you think go is simple. But I don't. You need a for loop for what is done in other languages with one method call. Removing an element from an array doe
by entha_saava 6y ago
Maybe you think go is simple. But I don't.
You need a for loop for what is done in other languages with one method call.
Removing an element from an array doesn't look like that. It is some slice appending trickery.
Having null and having to check errors every 5th line or so..
It lacks idioms like list comprehensions or map / filter. Reading code is spent in details like whether a for loop is index(), count(), map() or filter().
Instead of some simple code like
x = condition ? a : b
you are writing imperative verbose code like:
if condition {
x = a
} else {
x = b
}
Go maybe simpler than enterprise-style java. But that's not 'simple'.
http://archive.is/YPxJP http://archive.is/YPxJP