Click here to Skip to main content
13,007,637 members (71,739 online)

The Insider News


The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

News80 chars per line is great Pin
Terrence Dorsey25-Mar-13 12:10
staffTerrence Dorsey25-Mar-13 12:10 
GeneralRe: 80 chars per line is great Pin
Lloyd Atkinson25-Mar-13 14:23
memberLloyd Atkinson25-Mar-13 14:23 
GeneralRe: 80 chars per line is great Pin
Terrence Dorsey25-Mar-13 14:49
staffTerrence Dorsey25-Mar-13 14:49 
GeneralRe: 80 chars per line is great Pin
Clifford Nelson25-Mar-13 14:35
memberClifford Nelson25-Mar-13 14:35 
GeneralRe: 80 chars per line is great Pin
PIEBALDconsult25-Mar-13 15:29
memberPIEBALDconsult25-Mar-13 15:29 
GeneralRe: 80 chars per line is great Pin
Ravi Bhavnani25-Mar-13 17:22
memberRavi Bhavnani25-Mar-13 17:22 
GeneralRe: 80 chars per line is great Pin
Dan Neely26-Mar-13 2:48
memberDan Neely26-Mar-13 2:48 
I generally code in ~120.

I have VS set to draw lines at 80, 120, and 160. IntelliJ has one line at 120, Eclipse doesn't have any at all. I'm not sure if the latter two are adjustable, I don't do enough java to have bothered looking for options to change them (or if I did I forgot about doing so).

My edit pane is currently 146 chars wide, but that changes somewhat depending on what I'm doing in sidebars. Really long lines tend to be noxiously long type names (auto generated xml classes are among the worst), places where I need to drill deeply into object hierarchies, and linq queries where there's no good natural spot to break the line. Otherwise most of my lines are under 80 chars; some of the ugly lines do end up longer because there's still nowhere to break the line that doesn't turn out to be breaking a line just for the sake of breaking a line and I'd rather scroll because arbitrary stupid line breaks are even more disruptive.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius

Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt

GeneralRe: 80 chars per line is great Pin
Leslie Sanford26-Mar-13 3:25
memberLeslie Sanford26-Mar-13 3:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Advertise | Privacy | Mobile
Web02 | 2.8.170628.1 | Last Updated 29 Jun 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid