Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
quotes:quote:on_premature_optimization [2018/11/21 22:37]
Olivier Simard-Casanova created
quotes:quote:on_premature_optimization [2018/11/21 23:54] (current)
Olivier Simard-Casanova
Line 1: Line 1:
 ====== On premature optimization ====== ====== On premature optimization ======
  
-<well>+~~META: 
 +date created = 2018-08-22 12:00 
 +~~ 
 + 
 +<blockquote>
 Premature optimization is the root of all evil. Premature optimization is the root of all evil.
  
-– Donald Knuth +<​cite>​Donald Knuth</​cite>​ 
-</well>+</blockquote>
  
 Whereas it was first stated in the context of [computer programming](http://​wiki.c2.com/?​PrematureOptimization),​ the dangers of premature optimization span way beyond programming. Basically, premature optimization is the process of optimizing things that will not need optimization in the future, creating more trouble and difficulties. Whereas it was first stated in the context of [computer programming](http://​wiki.c2.com/?​PrematureOptimization),​ the dangers of premature optimization span way beyond programming. Basically, premature optimization is the process of optimizing things that will not need optimization in the future, creating more trouble and difficulties.
Line 11: Line 15:
 In the field of science, I relate this to simplifying a theoretical model too early, or similar things. While optimization can help in many situations, it should only be done when there is enough stuff to be optimized. In the field of science, I relate this to simplifying a theoretical model too early, or similar things. While optimization can help in many situations, it should only be done when there is enough stuff to be optimized.
  
-Added August 22, 2018. Seen somewhere on the Internet.+Seen somewhere on the Internet.
  
 {{tag>}} {{tag>}}
Line 17: Line 21:
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
- 
  • Last modified: 16 months ago
  • by Olivier Simard-Casanova