autolab / Autolab

Course management service that enables auto-graded programming assignments.
http://www.autolabproject.com/
Apache License 2.0
752 stars 214 forks source link

80-character length for code view #290

Closed robsimmons closed 9 years ago

robsimmons commented 9 years ago

Currently, no matter how much I shrink my font, I cannot get the code view to show 80 characters on a single line, making reasonably formatted code appear terribly formatted.

Example: the line below is 79 characters long. bad code wrap example

dlbucci commented 9 years ago

Is this a style concern or a grading concern? Either way, we should fix this, but if you're interested in finding lines greater than 80 characters long, there should be a checkbox at the top of the page that will highlight such lines red.

robsimmons commented 9 years ago

Right - the checkbox is good for style grading, but we'd actually like to have the code readable while we're grading style.

As far as I'm concerned, the more work Autolab does to showing exactly 80 chars of code the better, because then the ultimate reason that we can give for why people have to respect the 80 char limit is "because that's what Autolab does and it's too hard to read your code on Autolab otherwise." (I'll usually have one student a semester who really doesn't buy the "massive historical precedent" argument :smile:)

dlbucci commented 9 years ago

Fixed by #307.