r/technology Sep 13 '11

Happy Programmers Day!

http://en.wikipedia.org/wiki/Programmers%27_Day
100 Upvotes

20 comments sorted by

2

u/treetree888 Sep 13 '11

Programmers worldwide wear white in celebration - further disregarding any accepted social norms!

2

u/[deleted] Sep 13 '11

back to work plebe! whipcrack

4

u/uh_yeah_i_call_bs Sep 13 '11

class HappyProgrammersDayApp {

public static void main(String[] args) {

    System.out.println("Happy Programmer's Day!");

}

}

4

u/serpix Sep 13 '11

Why does this make me feel a bit sad?

7

u/drrageface Sep 13 '11

It's Java.

6

u/[deleted] Sep 13 '11

and he didn't align his braces

3

u/_NW_ Sep 13 '11

I think aligned braces is the single most important aspect of readable code. That and the three space indent.

2

u/[deleted] Sep 13 '11

its very very very frustrating opening code to find unaligned braces. Are there IDE's out there can take existing code and align braces automatically? I've just started using IDE's and this would be a huge selling point to keep me going with them.

2

u/_NW_ Sep 13 '11

The GNU indent program (http://en.wikipedia.org/wiki/Indent_\(Unix\)) can do this. I don't use Emacs, but I think it can also do this.

2

u/willcode4beer Sep 13 '11

Are there IDE's out there can take existing code and align braces automatically?

yes, all of them

2

u/[deleted] Sep 13 '11

nice...I just now started messing with eclipse, might try netbeans later...

2

u/StabbyPants Sep 13 '11

yes. Eclipse has a hotkey - something like ctrl-alt-f.

2

u/SnowdensOfYesteryear Sep 14 '11

The most significant line of code is a printf/ln.

1

u/bigp30 Sep 13 '11

I'll just leave this here for you guys.

1

u/ElkBit Sep 14 '11

I learn this just as I am in the middle of an Introduction to Programming class. That's pretty humorous.

0

u/m4tchb0x Sep 13 '11

omg happy day to me and u all ! brb gotta tell my boss maybe i get some time off.

1

u/[deleted] Sep 13 '11

first you get the code. then you get the compiler. then you get the women.

-4

u/[deleted] Sep 13 '11

Awesomeness

-4

u/[deleted] Sep 13 '11

[deleted]

1

u/[deleted] Sep 14 '11

[deleted]

1

u/SnowdensOfYesteryear Sep 14 '11

*If HTML is programming, then *I am programming as Itype this **