As you know I am doing puzzles from codingame webpage (this post describes it). I am doing my best, but still did not cracked top 100 (I am ranked at 132). While solving some problems I found that I am often reinventing the wheel - due to my poor knowledge of algorithms I am wasting a lot of time discovering simple things (e.g. graph algorithms...). I decided that even though they say you can not teach old dogs new tricks I will read Algorithms in a Nutshell book to raise my skills to the next level! There is interesting quote in the introduction that I quickly inserted into my collection of programming quotes. Then I decided to share my little collection, maybe it will be helpful to somebody. So here we go:
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
premature optimization is the root of all evil
-- Donald Knuth
Modern software development is not about being an ace programmers anymore. It is about being a team player that empowers co-workers with:
Elegant design.
Easy to read and commented code implementing it.
-- Fabien Sanglard, http://fabiensanglard.net/
Any code of your own that you haven't looked at for six or more months might as well have been written by someone else.
-- Eagleson's law
Projects just seem to rot when you leave them alone for long periods of time.
-- John Carmack
There are only two hard things in Computer Science: cache invalidation and naming things.
-- Phil Karlton
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
-- Douglas Hofstadter
Later means never.
-- LeBlanc’s Law
C++11 feels like a new language.
-- Bjarne Stroustrup
Write lasagne code instead of spaghetti code.
Great Developers Know When Not To Refactor. If it ain’t broke, don’t fix it.
Perfect is the enemy of the good.
Release early, release often.
If the physics allows then it can always be solved given enough money – which just means finding a big enough market.
-- notzed comment @ CNXSoftware
TL; DR
In the post I shared my collections of programming quotes that I found somewhere on the Internet and think that they are useful.
If you have your favourite quotes please share them in the comment section below!
If you have your favourite quotes please share them in the comment section below!