View Single Post
  #5 (permalink)  
Old April 4th, 2007, 08:43 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Sorry, but I don't agree.

For some languages it doesn't matter if you add additional lines.

However, for languages like VB.NET this could cause serious problems. I can already envision posts where people complain that:

Dim myPerson As New

doesn't work; simply because a line break was introduced where it's not allowed.

I see three ways to fix it:

1. Ask people to format their code. I occasionally do that, with little results usually.

2. Add a <div> with overflow: auto; around the code. That way, the div gets scrollbars when the code is too wide.

3. Leave it like it is, and live with it.


Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.