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.

Programming Quotes

266 pointsby chauhankiranover 6 years ago

31 comments

arethuzaover 6 years ago
Missing the Ninety-ninety rule?<p><i>&quot;The first 90 percent of the code accounts for the first 90 percent of the development time. The remaining 10 percent of the code accounts for the other 90 percent of the development time.&quot;</i><p> Tom Cargill, Bell Labs<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Ninety-ninety_rule" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Ninety-ninety_rule</a><p>NB There should probably be a 90-90-90-90-&lt;recurring&gt; rule... could called the Y-90 rule!
评论 #18393109 未加载
corodraover 6 years ago
&quot;I should have run off with that hippie girl and started a homestead in Alaska.&quot;<p>Me, every fucking time I look at code.
评论 #18395679 未加载
评论 #18394319 未加载
vram22over 6 years ago
I like this one:<p>&quot;Debugging a program is twice as hard as writing it in the first place. So, by definition, if you write the program as cleverly as you can, you will not be able to debug it.&quot;<p>- (Maybe by) Brian Kernighan.
评论 #18396556 未加载
justinpombrioover 6 years ago
Missing what I think is the most important quote:<p>&quot;Show me your flowcharts and conceal your tables, and I shall continue to be mystified. Show me your tables, and I won&#x27;t usually need your flowcharts; they&#x27;ll be obvious.&quot;<p>- Fred Brooks
评论 #18399303 未加载
评论 #18394268 未加载
osrecover 6 years ago
&gt; If you’re capable of understanding `finalised virtual hyperstationary factory class&#x27;, remembering the Java class hierarchy, and all the details of the Java Media Framework, you are (a) a better man than i am (b) capable of filling your mind with large chunks of complexity, so concurrent programming should be simple by comparison. go for it.<p>&gt; ps. i made up the hyperstationary, but then again, it’s probably a design pattern.<p><pre><code> — forsyth </code></pre> ---<p>Reminds me of a great deal of programmers in the banking world, especially those who used spring. Their software often failed, but their knowledge of Java design patterns never did!
champagnepapiover 6 years ago
“Walking on water and developing software from a specification are easy if both are frozen.”
abarrakover 6 years ago
I grouped XML quotes to share with my manager:<p><i>The essence of XML is this: the problem it solves is not hard, and it does not solve the problem well.</i><p><pre><code> — Phil Wadler, POPL 2003 </code></pre> <i>XML is like violence: if it doesn’t solve your problem, you aren’t using enough of it.</i><p><pre><code> — Heard from someone working at Microsoft </code></pre> <i>XML is like violence. Sure, it seems like a quick and easy solution at first, but then it spirals out of control into utter chaos.</i><p><pre><code> — Sarkos in reddit </code></pre> <i>Most xml i’ve seen makes me think i’m dyslexic. it also looks constipated, and two health problems in one standard is just too much.</i><p><pre><code> — Charles Forsyth </code></pre> Nobody who uses XML knows what they are doing.<p><pre><code> — Chris Wenham</code></pre>
评论 #18396296 未加载
评论 #18395157 未加载
评论 #18406721 未加载
评论 #18395229 未加载
hiccuphippoover 6 years ago
Here&#x27;s one I&#x27;ve seen around:<p><i>&quot;Often a few hours of trial and error will save you minutes of looking through manuals.&quot;</i>
评论 #18394597 未加载
评论 #18395788 未加载
评论 #18400195 未加载
johnvegaover 6 years ago
Part of why I like Golang as I interpret beauty as readability.<p>&quot;Beauty is more important in computing than anywhere else in technology because software is so complicated. Beauty is the ultimate defense against complexity.&quot;<p><pre><code> — David Gelernter</code></pre>
aardover 6 years ago
One of my favorites:<p>&quot;If you know what’s in it, you don’t know when it will ship. If you know when it will ship, you don’t know what’s in it.&quot;
LargeWuover 6 years ago
There&#x27;s nothing more permanent than a temporary fix.
评论 #18395290 未加载
petercooperover 6 years ago
If you&#x27;d like to be drip fed stuff like this, we&#x27;ve been running a programming quotes Twitter account for several years at <a href="https:&#x2F;&#x2F;twitter.com&#x2F;codewisdom" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;codewisdom</a>
jeffwassover 6 years ago
LOL, 40 years later and some things never change :<p>“The most effective debugging tool is still careful thought, coupled with judiciously placed print statements.”<p>- Brian W. Kernighan, in the paper <i>Unix for Beginners</i>(1979)
tanklessmilkover 6 years ago
This is fantastic. Whenever I&#x27;m at work, I always look at deltas on commits to judge personal success. The more lines removed, the better!<p>&gt; Deleted code is debugged code.<p><pre><code> — Jeff Sickel</code></pre>
评论 #18392025 未加载
mikmoilaover 6 years ago
Some people, when confronted with a problem, think “I know, I&#x27;ll use regular expressions.” Now they have two problems.
equaluniqueover 6 years ago
Everyone post your favorites.<p><i>&gt; What&#x27;s wrong with perl?<p>It combines all the worst aspects of C and Lisp: a billion different sublanguages in one monolithic executable. It combines the power of C with the readability of PostScript.<p>&gt; To me perl is the triumph of utalitarianism.<p>So are cockroaches. So is `sendmail&#x27;.<p><pre><code> — jwz [http:&#x2F;&#x2F;groups.google.com&#x2F;groups?selm=33F4D777.7BF84EA3%40netscape.com]* ~ and ~ </code></pre> </i>If the designers of X Windows built cars, there would be no fewer than five steering wheels hidden about the cockpit, none of which followed the same principles – but you’d be able to shift gears with your car stereo. Useful feature that.<i>
评论 #18396616 未加载
belltylerover 6 years ago
&quot;If debugging is the art of finding bugs, programming must be the art of creating them.&quot;
waynecochranover 6 years ago
&quot;Given enough thrust pigs will fly&quot; -- I will use this for my next code review. Gold.
AdmiralAsshatover 6 years ago
Missing the infamous &quot;It compiles! Ship it!&quot; quote.
评论 #18391705 未加载
spionover 6 years ago
Ah, quotes, the method of taking wisdom out of context and greatly increasing the chances of incorrect interpretation. The ancient form of twitter.
评论 #18393293 未加载
chewzeritaover 6 years ago
&gt; {ajh} I always viewed HURD development like the Special Olympics of free software.<p>yikes
Jun8over 6 years ago
Obligatory list of some good quotes that are not included:<p>Rules of Optimization: Rule 1: Don&#x27;t do it. Rule 2 (for experts only): Don&#x27;t do it yet. - M.A. Jackson<p>Never test for an error condition you don&#x27;t know how to handle. - Steinbach<p>Choose mnemonic identifiers. If you can&#x27;t remember what mnemonic means, you&#x27;ve got a problem. - perldoc perlstyle<p>Every program has (at least) two purposes: the one for which it was written, and another for which it wasn&#x27;t. - Alan Perlis<p>Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration. - Stan Kelly-Bootle
评论 #18393144 未加载
评论 #18392236 未加载
评论 #18392913 未加载
评论 #18393166 未加载
yesenadamover 6 years ago
That&#x27;s a great collection! Thank you.
评论 #18395698 未加载
f2fover 6 years ago
Pity the list isn&#x27;t updated anymore, or uriel would&#x27;ve sure put these gems by Charles Forsyth in it:<p><i>[B]y treating &quot;compiling C&quot; as a subset problem of &quot;compiling C++&quot;, gcc and especially clang are vast whales whistling at the wrong frequency for the problem.</i><p><i>Plan 9 C implements C by attempting to follow the programmer’s instructions, which is surprisingly useful in systems programming. The big fat compilers work hard to find grounds to interpret those instructions as ‘undefined behaviour’.</i>
评论 #18395471 未加载
评论 #18395181 未加载
rypskarover 6 years ago
I could not find one of mine favorites The two hardest things in programming are: 1. Naming variables 2. Cache invalidation 3. Off by one errors
dahartover 6 years ago
For the sinner deserves not life but death, according to the disk devices. For example, start with Plan 9, which is free of sin, the case is different from His perspective.<p><pre><code> — Mark V. Shaney </code></pre> Hey, that one’s a bot.<p>I’m also trying to figure out what’s left if you take out all the “avoid complexity” and “avoid XML” quotes...
canhascodezover 6 years ago
There&#x27;s a lot of negativity here. A lot of these quotes seem to offer more heat than light.
评论 #18396848 未加载
评论 #18394501 未加载
评论 #18393607 未加载
brudgersover 6 years ago
<p><pre><code> You can&#x27;t build an airplane from bricks. -- Steve McConnell, *Code Complete*</code></pre>
carapaceover 6 years ago
&quot;CS can be described as the post-Turing decline in the study of formal systems.&quot;<p>I don&#x27;t know who said it originally.
gnulinuxover 6 years ago
&gt; A data structure is just a stupid programming language.<p>&gt; — R. Wm. Gosper<p>What&#x27;s this supposed to mean?
评论 #18393801 未加载
评论 #18395475 未加载
评论 #18395470 未加载
评论 #18393708 未加载
napoleonIVover 6 years ago
This is an absolute gem.