4 ms·
In more conventional scripting languages than Julia, I wish more people would write simple for-loops for simple problems, instead of cramming in some functional
by trgn 8y ago
In more conventional scripting languages than Julia, I wish more people would write simple for-loops for simple problems, instead of cramming in some functional construct, just because the language allows it. The extra indirection, the added object allocation, the deepening of the call-stack, it all just crufts up the whole routine. For-loops are simple, execute tidily, and keep code localized, that's good stuff.