2 ms·
I take it you find the one-liner more aesthetically appealing? I'm not arguing, just taking a survey. I'm deeply interested in what constitutes "good" code.
by gazetteer 16y ago
I take it you find the one-liner more aesthetically appealing? I'm not arguing, just taking a survey. I'm deeply interested in what constitutes "good" code.
- spooneybarger 16y agoI dont prefer the one line. I find the argument that the multiple line version becomes bad code when you add type info to it ludicrous.
- gazetteer 16y agoIt seems I have communicated poorly. The point is not that the type info makes the code bad code, but that one-liners are bad code and that one-liners are encouraged by requiring type declarations.