4 ms·
> One "statement" per line is bog standard This isn't really true. Most non-Lisp languages I work in, like JS or Ruby or Python, have things like long_expressi
by jdminhbg 2y ago
> One "statement" per line is bog standard
This isn't really true. Most non-Lisp languages I work in, like JS or Ruby or Python, have things like long_expression =\n long_other_expression, or long_expression\n.another_long_expression\n.another_long_expression.
- Guvante 2y agoAnd if most of your code looks like that you are making a mistake. "Sometimes I need multiple lines" is fine, exceptions happen. But again I ask, visually are those lines super different? Ditto for things like for loops which have multiple statements in a line.