I'm sure these classes still stress heavily commenting your code as well.
Checkstyle
They still teach programming in programming classes? No one programs anymore. You just download, install, configure, and wire up technology stacks using other people's libraries. If you're "writing" your own code it is obvious you didn't research the problem well enough.
"The best way to get a bad law repealed is to enforce it strictly"
Demonstrating that the rules are broken by creating unreadable code that passes the readability guidelines seems a fair demonstration!As for line lengths, while you can rotate monitors by 90° without too much effort these days, most guys I know work on an unrotated 16:10 or 16:9 monitor, so long lines are actually not that bad.
90º monitors / 9:16 aspect FTW!! I use a 1920*1080 and a 1440*2560.
Also, when using a 16:9 aspect, I always split the IDE down the middle so I can see two files at the same timeNo need to strictly stick to the traditional 80 characters (as derived from when we coded via terminals), but it's still a good idea to resort to line-breaks after some point.
I tend to compromise; I keep my comments wrapped at 80, and I try to keep long expressions wrapped, but I will not break things in awkward places, like splitting six parameters into one parameter per line if their names and types are too long.
What on earth is wrong with soft-wrapped lines?
Having an identifier or typename wrap mid-token is jarring for me.
Having an identifier or typename wrap mid-token is jarring for me.
I don't think I've ever seen an editor that wraps mid-token. Even word processors only do that for a very well-defined set of legally hyphenated words...
They still teach programming in programming classes? No one programs anymore. You just download, install, configure, and wire up technology stacks using other people's libraries. If you're "writing" your own code it is obvious you didn't research the problem well enough.
I wish it was that easy ._.'