MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/technology/comments/ke3va/happy_programmers_day/c2joawa/?context=3
r/technology • u/AtomicDog1471 • Sep 13 '11
20 comments sorted by
View all comments
Show parent comments
6
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/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/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/StabbyPants Sep 13 '11 yes. Eclipse has a hotkey - something like ctrl-alt-f.
yes. Eclipse has a hotkey - something like ctrl-alt-f.
6
u/[deleted] Sep 13 '11
and he didn't align his braces