TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Programmer proverbs

138 pointsby staltzover 10 years ago

24 comments

luchover 10 years ago
I&#x27;m actually a fan of the following proverbs. They are less pompous, and more humourous :<p><a href="http://theprofoundprogrammer.com/post/28552672458/text-maybe-a-clean-build-will-fix-it" rel="nofollow">http:&#x2F;&#x2F;theprofoundprogrammer.com&#x2F;post&#x2F;28552672458&#x2F;text-maybe...</a><p><a href="http://theprofoundprogrammer.com/post/30809835982/text-race-conditions-photograph-of-a-cheetah" rel="nofollow">http:&#x2F;&#x2F;theprofoundprogrammer.com&#x2F;post&#x2F;30809835982&#x2F;text-race-...</a><p><a href="http://theprofoundprogrammer.com/post/34818584135/text-do-not-remove-photograph-of-the" rel="nofollow">http:&#x2F;&#x2F;theprofoundprogrammer.com&#x2F;post&#x2F;34818584135&#x2F;text-do-no...</a>
评论 #9027311 未加载
评论 #9027330 未加载
shangxiaoover 10 years ago
Unfortunately I only agree with a handful of these particular proverbs. The set of proverbs that I&#x27;ve found are truly useful to programmers would be &quot;The Zen of Python&quot; (open a Python session and run `import this`)<p>The Zen of Python:<p><pre><code> Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren&#x27;t special enough to break the rules. Although practicality beats purity. Errors should never pass silently. Unless explicitly silenced. In the face of ambiguity, refuse the temptation to guess. There should be one-- and preferably only one --obvious way to do it. Although that way may not be obvious at first unless you&#x27;re Dutch. Now is better than never. Although never is often better than *right* now. If the implementation is hard to explain, it&#x27;s a bad idea. If the implementation is easy to explain, it may be a good idea. Namespaces are one honking great idea -- let&#x27;s do more of those!</code></pre>
评论 #9027884 未加载
jbob2000over 10 years ago
&gt;Programming is about understanding with precision. Not about trying until it works.<p>I think you&#x27;re talking about engineering, because programming is <i>definitely</i> about trying until it works.
评论 #9027976 未加载
评论 #9026892 未加载
评论 #9026941 未加载
评论 #9026922 未加载
评论 #9027606 未加载
评论 #9026881 未加载
评论 #9026944 未加载
评论 #9027175 未加载
评论 #9026806 未加载
PMan74over 10 years ago
Up there with those motivational pictures - banal, empty, of little use to anybody.
评论 #9027287 未加载
评论 #9027049 未加载
评论 #9028531 未加载
评论 #9027008 未加载
henrik_wover 10 years ago
My favorites are:<p>“A complex system that works is invariably found to have evolved from a simple system that worked.” John Gall<p>“Enlightened trial and error outperforms the planning of flawless intellects.” David Kelley<p>“It’s OK to figure out murder mysteries, but you shouldn’t need to figure out code. You should be able to read it.” Steve McConnell<p>And two quotes from the Agile Manifesto:<p>“Working software is the primary measure of progress.”<p>“Simplicity — the art of maximizing the amount of work not done — is essential.”<p><a href="http://henrikwarne.com/2012/02/25/favorite-programming-quotes/" rel="nofollow">http:&#x2F;&#x2F;henrikwarne.com&#x2F;2012&#x2F;02&#x2F;25&#x2F;favorite-programming-quote...</a>
评论 #9027333 未加载
评论 #9027954 未加载
edw519over 10 years ago
<p><pre><code> 1. Start with the answer, then work back. 2. Don&#x27;t repeat yourself. (DRY) 3. Normalize the data. The process will follow. 4. Isolate. Isolate. Isolate. 5. It worked. You touched it. It doesn&#x27;t work. It was you. 6. Write for the next programmer, not the machine. 7. If you don&#x27;t hate your old code, you haven&#x27;t grown enough. 8. The first A&#x2F;B test is your own. 9. Focus on the microseconds &amp; the nanaseconds take care of themselves. 10. The fastest code is the code you don&#x27;t write. 11. The 2nd worst programmer is who wrote what you&#x27;re maintaining. 12. The worst programmer is the one who changes your code. 13. Comments don&#x27;t execute. 14. The best technical co-founder is a code generator. 15. The user never knows what they want until UAT. 16. Fast. Cheap. Right. Choose 2. 17. Perfect specs or rapid iterations. Choose 1. 18. Start with &quot;Hello World&quot;, then amend. 19. Never deploy on Friday. 20. Forget to unit test? That&#x27;s a paddlin&#x27;.</code></pre>
评论 #9027246 未加载
评论 #9027210 未加载
评论 #9027212 未加载
评论 #9027613 未加载
评论 #9027204 未加载
fs111over 10 years ago
Here is one for to you add &quot;Don&#x27;t trust empty phrases on some random website&quot;.
7402over 10 years ago
See &quot;The Klingon Programmer&#x27;s Code of Honour&quot; <a href="http://www.klingon.org/resources/klingon_code.html" rel="nofollow">http:&#x2F;&#x2F;www.klingon.org&#x2F;resources&#x2F;klingon_code.html</a> - First on the list:<p><pre><code> Specifications are for the weak and timid.</code></pre>
cafardover 10 years ago
Jon Bentley&#x27;s &quot;Bumper-Sticker Computer Science&quot; pieces, collected in the <i>Programming Pearls</i> book seem a lot better to me.
insulttogingeryover 10 years ago
This is some real pretty bullshit.<p>They read like horoscopes &#x2F; fortune cookies.
Vaskivoover 10 years ago
&gt; The first symptom of stagnation is preference.<p>Love this one!<p>[EDIT]: I probably didn&#x27;t understand it the same way. I read it as &quot;don&#x27;t have favourites, be open to new stuff&quot;
评论 #9027389 未加载
评论 #9027041 未加载
评论 #9027233 未加载
评论 #9027160 未加载
jackreichertover 10 years ago
&quot;Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.&quot;<p>[Source](<a href="https://groups.google.com/forum/#!msg/comp.lang.c++/rYCO5yn4lXw/oITtSkZOtoUJ" rel="nofollow">https:&#x2F;&#x2F;groups.google.com&#x2F;forum&#x2F;#!msg&#x2F;comp.lang.c++&#x2F;rYCO5yn4...</a>)
评论 #9027286 未加载
评论 #9027375 未加载
ollaover 10 years ago
Actually hoped to see more true, but satirical, statements like: &quot;It usually takes a long time to find a shorter way.&quot; or &quot;Debugging software is the practice of removing bugs. Programming is the art of putting them in.&quot; Currently seems more like criticising a lecture.
评论 #9026989 未加载
dwarmanover 10 years ago
Back in the days of Windows 3.11, in frustration, I coined one that so far has not gained any traction:<p>&quot;that which can be configured must be configured&quot;<p>Just like there are few people with IQ exactly 100, there are few users for whom all the default settings are appropriate. One has to review all config panels to be sure, and I have never done so without finding one critical default or another that was just plain problematic.<p>Lesson: make defaults clear, as few as possible, and all found in one place.
webscale2015over 10 years ago
One of my favourites: &quot;I don&#x27;t need to know how it works, or if it is secure, I just gem install it! Don&#x27;t ask me, I&#x27;m just a web scale developer!&quot;
restalisover 10 years ago
&quot;Elegant, efficient, and effective code beats any argument.&quot;<p>The scary thing is, I know people who firmly believe that, even when the argument is on code correctness.
radoslawcover 10 years ago
I like this better: <a href="http://programmingexcuses.com/" rel="nofollow">http:&#x2F;&#x2F;programmingexcuses.com&#x2F;</a> (just press &#x27;refresh&#x27;)
评论 #9027066 未加载
评论 #9027209 未加载
henrik_wover 10 years ago
Not really a programmer proverb, but close enough and still pretty good.<p>Customer Disservice: &quot;We&#x27;re Not Satisfied Until You&#x27;re Not Satisfied&quot;<p><a href="http://www.funnyjunk.com/funny_pictures/477940/Customer/" rel="nofollow">http:&#x2F;&#x2F;www.funnyjunk.com&#x2F;funny_pictures&#x2F;477940&#x2F;Customer&#x2F;</a>
arethuzaover 10 years ago
My all time favourite:<p><i>There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies.</i><p>C. A. R. Hoare
tokaiover 10 years ago
Most of these are horrible.
JAlexoidover 10 years ago
Very schizophrenic.
sbensuover 10 years ago
<i>Programming is about understanding with precision.<p>Not trying until it works<p>Unless you are working with Regex of course.</i>
firepoetover 10 years ago
Why do they have to be in Europe? :-(
评论 #9026876 未加载
willvarfarover 10 years ago
Can you link to particular proverbs?