This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Line length... ??  RSS feed

 
Matt Ghiold
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys,
I was just thinking about something doing a final review on my application. My default
resolution is 1200 x 1080 and I code in this
environment, so in theory my lines can be really
long, although I tried to keep it not that bad.
But if someone from sun opens this up on 400x600 there going to think my code looks like crap as my code will wrap off there screens.
Thoughts? am I being to paranoid?
 
Bernhard Woditschka
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My 2 cent:
Try to stay under 80 chars / line (max 100)
You allready gave the answer
Java Code Conventions
Bern
[ January 14, 2003: Message edited by: Bernhard Woditschka ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!