Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Request for scrunched up code listings

 
Bert Bates
author
Sheriff
Posts: 8898
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bert Bates:
...Any thoughts?

 
kotha vijaybabu
Ranch Hand
Posts: 77
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
gr8
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Heck, why stop there?

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

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic