3 ms·
To play off your example, list comprehensions are a nice one liner. In Python, you can do in one line what Go takes 10x more lines for. I still prefer Go, despi
by Scarbutt 5y ago
To play off your example, list comprehensions are a nice one liner. In Python, you can do in one line what Go takes 10x more lines for. I still prefer Go, despite it feeling like shackles at time to write.
Why would you prefer 10k lines of readable code over 1K lines of readable code?
- silisili 5y agoFor the same reason I'd rather read Romeo and Juliet than 'girl pretends to die. guy kills himself. girl kills herself'. Yeah they're both the same, but one gives you thought process, at minimum.
- lmm 5y agoI find it's far more common that the extra lines are meaningless ceremony. No-one thinks about writing, say, boilerplate getters and setters, whereas a more concise version of the code will express the actual intention with a minimum of chaff.