Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to check if reader has multiple results
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01579688
Message ID:
01579770
Views:
32
>>But doing so I, of course, broke all the existing code we already have, so I'm up to serious changes. That would be an opportunity to re-visit code I've written and optimize while looking at it.
>
>And that is exactly why you should not bother trying to over-optimize a bit of code. Once everything is working fine and then tests reveal that you really really need to somehow squeeze a millisecond from somewhere, then you can look again at this piece of code, at least that is what I would do (and I know that Mike Y. is gritting his teeth while reading this:)).

Well, when I look at the code and find something that may be written better, I usually change it while I am looking at the code, not at some late point. That's just how I usually approach code, even at the risk of breaking working stuff.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform