Conversation
Notices
-
!coders I consider it a badge of honour if you've ever written a java program without using import X.*.
Thursday, 01-Mar-12 01:49:46 UTC from web-
@rotation System.out.println("Not that hard, really; depends on your definition of a program.");
-
@sebastian1314 Anything. A common thing is to have two variables: List<E> a, ArrayList<E> b and import java.util.*;
-
@rotation Reminds me, there was a programming competition for using round-about ways of programming. IE. Making Ascii art out of your code etc. One of the challenges was to make a program that prints it's own source code. The award for "Most Abuse of the Rules" went to an author who submitted a blank file to the competition cause come compilers would actually compile it with a blank main(). xD !coderpony
-
@minti Did anyone do something using only the pre-processor? That's a neat trick.
-
@rotation The competition was the International Obfuscated C Code Contest. So no. xD
-
@sebastian1314 Because why parse something yourself when you can get a Scanner to do it?
-
@sebastian1314 System.in is just an input stream, so you use io.Reader, and end up going pretty low level. My advice is to use Scanners for text. Only resort to Readers if you need to deal with BLOBs.
-
@rotation Ah I see. Yeah, I guess that's why we didn't learn it. =/
-
@minti You say that... http://www.ioccc.org/2004/vik2.hint
-
@rotation Loool oh lord..
-
@minti How about a Turing Machine? http://www.ioccc.org/2001/herrmann1.hint
-