C is quirky, flawed, and an enormous success.
We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.
Premature optimization is the root of all evil in programming.
There are two ways to write error-free programs; only the third one works.
It's OK to figure out murder mysteries, but you shouldn't need to figure out code. You should be able to read it.
It should be noted that no ethically-trained software engineer would ever consent to write a DestroyBaghdad procedure. Basic professional ethics would instead require him to write a DestroyCity procedure, to which Baghdad could be given as a parameter.
I will, in fact, claim that the difference between a bad programmer and a good one is whether he considers his code or his data structures more important. Bad programmers worry about the code. Good programmers worry about data structures and their relationships.
The cost of adding a feature isn't just the time it takes to code it. The cost also includes the addition of an obstacle to future expansion. ... The trick is to pick the features that don't fight each other.
The best performance improvement is the transition from the nonworking state to the working state.
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law
Never trust a computer you can't throw out a window.
One of my most productive days was throwing away 1,000 lines of code.
Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction.
A programming language is low level when its programs require attention to the irrelevant.
Beware of bugs in the above code; I have only proved it correct, not tried it.
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.
That's the thing about people who think they hate computers. What they really hate is lousy programmers.
The unavoidable price of reliability is simplicity.
If you cannot grok the overall structure of a program while taking a shower, you are not ready to code it.
More computing sins are committed in the name of efficiency (without necessarily achieving it) than for any other single reason - including blind stupidity.
The price of reliability is the pursuit of the utmost simplicity. It is a price which the very rich may find hard to pay.
Adding manpower to a late software project makes it later
Low-level programming is good for the programmer's soul.
The function of good software is to make the complex appear to be simple.
I mean, if 10 years from now, when you are doing something quick and dirty, you suddenly visualize that I am looking over your shoulders and say to yourself "Dijkstra would not have liked this," well, that would be enough immortality for me.
Follow AzQuotes on Facebook, Twitter and Google+. Every day we present the best quotes! Improve yourself, find your inspiration, share with friends
or simply: