Hence the reason in the old days we used to use real programmers editors that did brace-checking (vi/emacs) and indent (the program). Unfortunately it does all sorts of bad things in regards to source control, so you would need to run indent, read the code, then it was usually best to fix it in the original format, unless you are taking it over permanently, in which case you add a change update of reformatting.Technically, the newer "extra line space" format is fine now, because you aren't stuck in text mode and 25 lines. Before window based editors, you wanted it dense so you could see more code on a screen. When dealing with a lot of skilled programmers, I tend to use K&R style, but if dealing with Windows-only developers, or new programmers, I find they're heads don't explode as quickly if you use the excessively white-space Allman style.
Let me just say: f**k Agile. Should have been called "Arthritic". I understand the basic idea behind what they were trying to accomplish with it, and in theory it's a good idea, but then again so is Communism.
@elhaf has it right. DDT was basically banned because it doesn't stop working fast enough. What's in it's place is are pesticides that dissipate or become neutral relatively quickly. So is using an alternative over and over and over really better for the environment? Just like goto, DDT should be used in moderation, not banned (or laughed at)........of course, on the flip side, goto probably never killed any bald eagle babies......
if you have a zune in 2009 you're a sucker. If you have a zune in 2081 there is no word to describe you, yet. Maybe by 2050 the term will have been coined...
I really do like the final 'return TRUE' statement. It gave me a warm feeling of nostalgia.Seriously, what is the reason for not making this a void function?
tenarethJan 3, 2009
Hence the reason in the old days we used to use real programmers editors that did brace-checking (vi/emacs) and indent (the program). Unfortunately it does all sorts of bad things in regards to source control, so you would need to run indent, read the code, then it was usually best to fix it in the original format, unless you are taking it over permanently, in which case you add a change update of reformatting.Technically, the newer "extra line space" format is fine now, because you aren't stuck in text mode and 25 lines. Before window based editors, you wanted it dense so you could see more code on a screen. When dealing with a lot of skilled programmers, I tend to use K&R style, but if dealing with Windows-only developers, or new programmers, I find they're heads don't explode as quickly if you use the excessively white-space Allman style.
durrokJan 3, 2009
Let me just say: f**k Agile. Should have been called "Arthritic". I understand the basic idea behind what they were trying to accomplish with it, and in theory it's a good idea, but then again so is Communism.
clauswkJan 4, 2009
Nothing to fix.veriix original statement is a perfectly valid pascal statement.OK - except for the [...] thing.
brettaltonJan 4, 2009
KohanaPHP programs in this manner (BSD/Allman style). I like this style very much...<a class="user" href="http://dev.kohanaphp.com/wiki/CodingStyle">http://dev.kohanaphp.com/wiki/CodingStyle</a><a class="user" href="http://en.wikipedia.org/wiki/Indent_style#BSD.2FAllman_style">http://en.wikipedia.org/wiki/Indent_style#BSD.2FAl ...</a>
pathfinderJan 5, 2009
@elhaf has it right. DDT was basically banned because it doesn't stop working fast enough. What's in it's place is are pesticides that dissipate or become neutral relatively quickly. So is using an alternative over and over and over really better for the environment? Just like goto, DDT should be used in moderation, not banned (or laughed at)........of course, on the flip side, goto probably never killed any bald eagle babies......
firefly2271Jan 6, 2009
DRM = FailZen = Win
streetdaddyJan 7, 2009
if you have a zune in 2009 you're a sucker. If you have a zune in 2081 there is no word to describe you, yet. Maybe by 2050 the term will have been coined...
codejemmSep 5, 2009
I really do like the final 'return TRUE' statement. It gave me a warm feeling of nostalgia.Seriously, what is the reason for not making this a void function?