News for hackers. Stuff that matters.
Re:The Value in Go’s Simplicity by fernandotakai on Saturday November 16, 2019 @02:05PM (#21554310)
> Should I be using a list comprehension or a map/filter/reduce?

yes, use list comprehensions -- they are more readable.

>When should I split that list comprehension?

just use common sense. if you can read it and understand without thinking too much, that's good.

it's readability beats short code 100% of the time.

There are no comments on this comment yet.