aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Request for scrunched up code listings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Request for scrunched up code listings" Watch "Request for scrunched up code listings" New topic
Author

Request for scrunched up code listings

Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8815
    
    5
I'm going to make an off-the-wall request that when we post code listings on this forum we scrunch up the code. I'll give you an example, and two reasons why:

1 - The code on the real exam is scrunched up, so it'll help everyone get used to it.
2 - It's easier to read when there's less scrolling to do:

So here's a recent example, and then how I'd recommend doing it:

Un-scrunched:



Scrunched (like in the real exam):



Any thoughts?


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Originally posted by Bert Bates:
...Any thoughts?



"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
kotha vijaybabu
Ranch Hand

Joined: Jan 28, 2006
Posts: 77
gr8
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
Heck, why stop there?

public class ForwardRef { static { i = 10; } static int i = 5; }



"I'm not back." - Bill Harding, Twister
 
Don't get me started about those stupid light bulbs.
 
subject: Request for scrunched up code listings