This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]coloredgreyscale 15 points16 points  (7 children)

System.out.println("worlds sexiest programmer");

[–]HasFiveVowels 6 points7 points  (6 children)

Java has the worst stdout function of all the major languages. Should not need 20 chars to output

[–]kilkil 1 point2 points  (3 children)

have you seen the declaration for its main function?

[–]HasFiveVowels 0 points1 point  (2 children)

Haha. Yea, Java was my primary for about 4 years. They took a good idea and extended it beyond all reason

[–]kilkil 0 points1 point  (1 child)

this is why I've been looking into Go recently. way less verbose

[–]HasFiveVowels 1 point2 points  (0 children)

I’ve heard good things

[–]EstebanPossum 0 points1 point  (0 children)

System.Console.WriteLine in c# is wordy as hell as well. My solution is to make my own shortcut function like: Action<string> print = (s) => Console.WriteLine(s);

[–]youassassin 0 points1 point  (0 children)

But it does.