Originally posted by AricC
The curley bracket!
Collapse
X
-
Originally posted by AricCWith the speeds of PC processing these days I wouldn't think this is a big factor.
This sort of "who cares, PCs are fast these day" reasoning is responsible for a lot of stupid coding and user frustration.
You don't happen to work for MS, by any chance?Comment
-
Originally posted by AnthonyScaifeI prefer:
Code:if (databaseGotUpdated) { updateCount++; clearDisplay(); renderNewTable(); }
- The style of indentation
- camelHumpStyle names rather than with_under_scor es
- ++
- Functions in the style verbAdjectiveNo un() in plain English
What does everyone else think ? ( "what a pedant !" ? )Comment
-
Originally posted by Killer42Argh! Evil !!
This sort of "who cares, PCs are fast these day" reasoning is responsible for a lot of stupid coding and user frustration.
You don't happen to work for MS, by any chance?Comment
-
Originally posted by Killer42This sort of "who cares, PCs are fast these day" reasoning is responsible for a lot of stupid coding and user frustration.Comment
-
Originally posted by BanfaActually this is a very good point, I once had to spend 2 weeks going through the code of an embedded project with 16Mbyte RAM searching for ways to save memory because people with this sloppy style had used it all up and the project need space for development.Comment
-
Originally posted by Killer42Argh! Evil !!
This sort of "who cares, PCs are fast these day" reasoning is responsible for a lot of stupid coding and user frustration.
You don't happen to work for MS, by any chance?Comment
-
Originally posted by BanfaActually this is a very good point, I once had to spend 2 weeks going through the code of an embedded project with 16Mbyte RAM searching for ways to save memory because people with this sloppy style had used it all up and the project need space for development.Comment
-
Originally posted by AricCI wouldn't call using += 1 over ++ sloppy at all and I still haven't seen any proff ++ is that much better.
Personally I still maintain that once the optomiser has put its oar in they should all be more or less the same.Comment
-
Originally posted by BanfaLast edited by Banfa : Today at 02:46 AM. Reason: Removing naughty 'Comment
-
Originally posted by BanfaI never said it was you are reading my comments out of context to the reply they where made to and the original comparison was between ++i and i++ not i++ and i += 1;
Personally I still maintain that once the optomiser has put its oar in they should all be more or less the same.Comment
-
Originally posted by AricCPerhaps I was, but that is what I've gathered from reading previous posts is that there is some sort of big difference between the two.
I do not think the argument for ++i over i++ holds water.Comment
Comment