sobota 30. októbra 2010
sobota 23. októbra 2010
piatok 22. októbra 2010
štvrtok 21. októbra 2010
Optimalizácia kódu
M. A. Jackson:
"We follow two rules in the matter of optimizations":
Rule 1. Don't do it.
Rule 2 (for experts only). Don't do it yet - that is, not until you have a perfectly clear and unoptimized solution."
citát z roku 1975...
D. E. Knuth:
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil."
interval.cz: Ako na optimalizaciu kódu
"We follow two rules in the matter of optimizations":
Rule 1. Don't do it.
Rule 2 (for experts only). Don't do it yet - that is, not until you have a perfectly clear and unoptimized solution."
citát z roku 1975...
D. E. Knuth:
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil."
interval.cz: Ako na optimalizaciu kódu
streda 20. októbra 2010
Dead code
Ďalšia "perla" programátora, ktorá sa nám dostala do rúk...
Long actual=null;
//... kod ktory nemodifikoval premennu actual....
if(actual!=null)
{
putL2Map(retVal, map, actual);
}
Prihlásiť na odber:
Príspevky (Atom)

