4 ms·
Yes. There's no pride in jamming the most amount of code into one line unless you're entering a contest.
by noselasd 10y ago
Yes. There's no pride in jamming the most amount of code into one line unless you're entering a contest.
- KON_Air 10y agoHeh, I remember being kind of scolded for using anything but "isolated functions" in MVC courses.
- chriswarbo 10y agoSurely it's the current one-line* restriction which forces "jamming the most amount of code into one line". Allowing multiple lines, by definition, allows breaking up those lines. * It's not actually one-line, it's one expression; Python's just picky about where you're allowed to break up an expression over multiple lines. For example see http://softwareengineering.stackexchange.com/questions/99243/why-doesnt-python-allow-multi-line-lambdas/252546#252546 http://softwareengineering.stackexchange.com/questions/99243...
- randallsquared 10y agoI don't think GP meant one editor line, but one "line of code".