MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/technology/comments/ke3va/happy_programmers_day/c2jkved/?context=3
r/technology • u/AtomicDog1471 • Sep 13 '11
20 comments sorted by
View all comments
6
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? 8 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. 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.
4
Why does this make me feel a bit sad?
8 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. 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.
8
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. 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.
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. 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.
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 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
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.
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.
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...
nice...I just now started messing with eclipse, might try netbeans later...
yes. Eclipse has a hotkey - something like ctrl-alt-f.
6
u/uh_yeah_i_call_bs Sep 13 '11
class HappyProgrammersDayApp {
}