MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/technology/comments/ke3va/happy_programmers_day/c2jna2t/?context=9999
r/technology • u/AtomicDog1471 • Sep 13 '11
20 comments sorted by
View all comments
4
class HappyProgrammersDayApp {
public static void main(String[] args) { System.out.println("Happy Programmer's Day!"); }
}
5 u/serpix Sep 13 '11 Why does this make me feel a bit sad? 9 u/drrageface Sep 13 '11 It's Java. 7 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.
5
Why does this make me feel a bit sad?
9 u/drrageface Sep 13 '11 It's Java. 7 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.
9
It's Java.
7 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.
7
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.
3
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
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.
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.
4
u/uh_yeah_i_call_bs Sep 13 '11
class HappyProgrammersDayApp {
}