• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Joe Ess
  • salvin francis

Code Snippets ARGH!!!!!!!!

 
Ranch Hand
Posts: 320
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry folks I just have to vent.
After being on the Ranch for over 2 years (I know that this could be a surprise to some but it's true.. and I've been pretty active, just flying under the radar) [post: 400 coming up]
I just have to get this off my chest.
I HATE WHEN PEOPLE WRITE CODE SNIPPETS AND DONT USE the UBB 'code' '/code' tags.
I now have a habit of skipping every message that doesn't use them as I get a damn headache trying to read these messages with no formatting.
*WHEW*
Glad to get that off my chest...
Thank you!
 
Ranch Hand
Posts: 4702
9
Scala Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i sometimes use quote instead if it turns out ok cause code make the font size hard to read. at least on small monitors like mine. regardless, i agree it must be formatted.
 
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Normal UBB code tag:

UBB code tag with larger font size:

Same thing without using the code tags:
<pre>
public class myClass
{
public static void main(String[] args)
{
System.out.println("Hello Ranch");
}
}
</pre>


I totaly agree though. People posting unformatted code is maddening.
[ May 15, 2002: Message edited by: Jason Menard ]
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not every forum has html enabled.
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In general, we've had to disable HTML is most forums where code is posted regularly, because of some UBB bugs. So you generally can't change font size when you need to. We're looking at ways to imporove on this situation...
 
Ranch Hand
Posts: 1365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On my computer the stuff in CODE or QUOTE tags is annoyingly small. Stuff without it has no formatting. I like posts that have no code
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then I guess that would explain things. And I'm sure it would take a UBB hack to fix as well.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!