137 Programming Quotes
Short programming quotes
We toast the Lisp programmer who pens his thoughts within nests of parentheses.
Alan PerlisAlan Perlis quote #2 One man's constant is another man's variable.
Alan PerlisAlan Perlis quote #20 Beware of bugs in the above code; I have only proved it correct, not tried it.
Donald KnuthDonald Knuth quote #2 Perl programming is an *empirical* science!
Larry WallLarry Wall quote #19 Though I'll admit readability suffers slightly...
Larry WallLarry Wall quote #25 Lisp has all the visual appeal of oatmeal with fingernail clippings mixed in.
Larry WallLarry Wall quote #62 Any false value is gonna be fairly boring in Perl, mathematicians notwithstanding.
Larry WallLarry Wall quote #91 Perl has a long tradition of working around compilers.
Larry WallLarry Wall quote #95
More programming quotes
I think it is inevitable that people program poorly. Training will not substantially help matters. We have to learn to live with it.
Alan PerlisAlan Perlis quote #9 The psychological profiling [of a programmer] is mostly the ability to shift levels of abstraction, from low level to high level. To see something in the small and to see something in the large.
Donald KnuthDonald Knuth quote #4 The most important thing in the programming language is the name. A language will not succeed without a good name. I have recently invented a very good name and now I am looking for a suitable language.
Donald KnuthDonald Knuth quote #17 To me programming is more than an important practical art. It is also a gigantic undertaking in the foundations of knowledge.
Grace HopperGrace Hopper quote #2 You're on CNN. The show that leads into me is puppets making crank phone calls. What is wrong with you?
Jon StewartJon Stewart quote #22 What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?
Larry WallLarry Wall quote #57 A 'goto' in Perl falls into the category of hard things that should be possible, not easy things that should be easy.
Larry WallLarry Wall quote #112 The choice of approaches could be made the responsibility of the programmer.
Larry WallLarry Wall quote #116 But the possibility of abuse may be a good reason for leaving capabilities out of other computer languages, it's not a good reason for leaving capabilities out of Perl.
Larry WallLarry Wall quote #122 Well, hey, let's just make everything into a closure, and then we'll have our general garbage collector, installed by 'use less memory'.
Larry WallLarry Wall quote #156 Almost nothing in Perl serves a single purpose.
Larry WallLarry Wall quote #174 Perl should remain fast and intuitive (to the extent that it is :-)
Larry WallLarry Wall quote #187 I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, 'What is that, swearing?
Larry WallLarry Wall quote #190 There's often more than one correct thing. There's often more than one right thing. There's often more than one obvious thing.
Larry WallLarry Wall quote #194 I'd make people say 'use Fork;' if I thought I could get away with it.
Larry WallLarry Wall quote #197 The court finds everyone to be in contempt (including himself :-), and orders everyone sentenced to five years hard labor. (Working on Perl, of course.)
Larry WallLarry Wall quote #203 I note that the Python folks still think they like JPython. I wonder how long that will last?
Larry WallLarry Wall quote #204 Accidental stacks considered harmful.
Larry WallLarry Wall quote #232 And in the limiting case where the optimizer is completely broken because it's not implemented yet, we get to work around that too. Optionally...
Larry WallLarry Wall quote #234 Even if you aren't in doubt, consider the mental welfare of the person who has to maintain the code after you, and who will probably put parens in the wrong place.
Larry WallLarry Wall quote #267 If you want your program to be readable, consider supplying the argument.
Larry WallLarry Wall quote #269 Perl is designed to give you several ways to do anything, so consider picking the most readable one.
Larry WallLarry Wall quote #272 The autodecrement is not magical.
Larry WallLarry Wall quote #274 Now, I'm not the only language designer with irrationalities. You can think of some languages to go with some of these things.
Larry WallLarry Wall quote #281 The three chief virtues of a programmer are: Laziness, Impatience and Hubris.
Larry WallLarry Wall quote #288 The problem with being consistent is that there are lots of ways to be consistent, and they're all inconsistent with each other.
Larry WallLarry Wall quote #289 Many computer scientists have fallen into the trap of trying to define languages like George Orwell's Newspeak, in which it is impossible to think bad thoughts. What they end up doing is killing the creativity of programming.
Larry WallLarry Wall quote #313 Talk is cheap. Show me the code.
Linus TorvaldsLinus Torvalds quote #20 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.
Linus TorvaldsLinus Torvalds quote #49 Given enough eyeballs, all bugs are shallow.
Linus TorvaldsLinus Torvalds quote #55 The 1973 Labour Conference will have before it the most radical programme the Party has prepared since 1945.
Tony BennTony Benn quote #9 Although the Perl Slogan is There's More Than One Way to Do It, I hesitate to make 10 ways to do something. :-)
Larry WallLarry Wall quote #1 Besides, it's good to force C programmers to use the toolbox occasionally. :-)
Larry WallLarry Wall quote #30 If I allowed 'next $label' then I'd also have to allow 'goto $label', and I don't think you really want that... :-)
Larry WallLarry Wall quote #32 In general, if you think something isn't in Perl, try it out, because it usually is. :-)
Larry WallLarry Wall quote #33 last|perl -pe '$_ x=/(..:..)...(.*)/&&$1ge$1&&$1lt$2' That's gonna be tough for Randal to beat... :-)
Larry WallLarry Wall quote #38 Perl itself is usually pretty good about telling you what you shouldn't do. :-)
Larry WallLarry Wall quote #40 There are many times when you want it to ignore the rest of the string just like atof() does. Oddly enough, Perl calls atof(). How convenient. :-)
Larry WallLarry Wall quote #42 Well, enough clowning around. Perl is, in intent, a cleaned up and summarized version of that wonderful semi-natural language known as 'Unix'.
Larry WallLarry Wall quote #60 They can always run stderr through uniq. :-)
Larry WallLarry Wall quote #74 Of course, I reserve the right to make wholly stupid changes to Perl if I think they improve the language. :-)
Larry WallLarry Wall quote #76 I think $[ is more like a coelacanth than a mastadon.
Larry WallLarry Wall quote #78 That could certainly be done, but I don't want to fall into the Forth trap, where every running Forth implementation is really a different language.
Larry WallLarry Wall quote #80 Randal can write one-liners again. Everyone is happy, and peace spreads over the whole Earth.
Larry WallLarry Wall quote #83 P.S. Perl's master plan (or what passes for one) is to take over the world like English did. Er, *as* English did...
Larry WallLarry Wall quote #86 I think you didn't get a reply because you used the terms 'correct' and 'proper', neither of which has much meaning in Perl culture. :-)
Larry WallLarry Wall quote #88 True, it returns ' ' for false, but ' ' is an even more interesting number than 0.
Larry WallLarry Wall quote #90 Of course, this being Perl, we could always take both approaches. :-)
Larry WallLarry Wall quote #100 Well, that's more-or-less what I was saying, though obviously addition is a little more cosmic than the bitwise operators.
Larry WallLarry Wall quote #114 Magically turning people's old scalar contexts into list contexts is a recipe for several kinds of disaster.
Larry WallLarry Wall quote #125 I surely do hope that's a syntax error.
Larry WallLarry Wall quote #130 Anyway, my money is still on use strict vars . . .
Larry WallLarry Wall quote #131 Just don't make the '9' format pack/unpack numbers... :-)
Larry WallLarry Wall quote #137 That gets us out of deciding how to spell Reg[eE]xp?|RE . . . Of course, then we have to decide what ref $re returns... :-)
Larry WallLarry Wall quote #145 'Course, that doesn't work when 'a' contains parentheses.
Larry WallLarry Wall quote #146 (To the extent that anyone but a Prolog programmer can understand X totally. (And to the extent that a Prolog programmer can understand 'cut'. :-))
Larry WallLarry Wall quote #149 The code also assumes that it's difficult to misspell 'a' or 'b'. :-)
Larry WallLarry Wall quote #155 Boss: You forgot to assign the result of your map! Hacker: Dang, I'm always forgetting my assignations... Boss: And what's that 'goto' doing there?!? Hacker: Er, I guess my finger slipped when I was typing 'getservbyport'... Boss: Ah well, accidents will happen. Maybe we should have picked APL.
Larry WallLarry Wall quote #166 And other operators aren't so special syntactically, but weird in other ways, like 'scalar', and 'goto'.
Larry WallLarry Wall quote #170 Perl will always provide the null.
Larry WallLarry Wall quote #179 Just put in another goto, and then it'll be readable. :-)
Larry WallLarry Wall quote #189 : I could understand principles of Perl source in 2-3 days [. . .] Gee, it took me about eleven years. :-)
Larry WallLarry Wall quote #193 Perl did not get where it is by ignoring psychological factors.
Larry WallLarry Wall quote #211 If this were Ada, we'd simply doc it as 'erroneous'.
Larry WallLarry Wall quote #215 OOPS! You naughty creature! You didn't run Configure with sh! I will attempt to remedy the situation by running sh for you...
Larry WallLarry Wall quote #253 Does the same as the system call of that name. If you don't know what it does, don't worry about it.
Larry WallLarry Wall quote #266 Remember though that THERE IS NO GENERAL RULE FOR CONVERTING A LIST INTO A SCALAR.
Larry WallLarry Wall quote #273 If there's a particular problem that Perl is trying to solve, it's the basic fact that all programming languages suck. Sort of the concept of original sin, applied to programming languages.
Larry WallLarry Wall quote #283 There are a lotta computer languages out there doing drugs.
Larry WallLarry Wall quote #284 Q. Why is this so clumsy? A. The trick is to use Perl's strengths rather than its weaknesses.
Larry WallLarry Wall quote #295 I already have too much problem with people thinking the efficiency of a perl construct is related to its length. On the other hand, I'm perfectly capable of changing my mind next week... :-)
Larry WallLarry Wall quote #296 I might be able to shoehorn a reference count in on top of the numeric value by disallowing multiple references on scalars with a numeric value, but it wouldn't be as clean. I do occasionally worry about that.
Larry WallLarry Wall quote #298 Interestingly enough, since subroutine declarations can come anywhere, you wouldn't have to put BEGIN {} at the beginning, nor END {} at the end. Interesting, no? I wonder if Henry would like it. :-)
Larry WallLarry Wall quote #299 > This made me wonder, suddenly: can telnet be written in perl? Of course it can be written in Perl. Now if you'd said nroff, that would be more challenging...
Larry WallLarry Wall quote #303 I knew I'd hate COBOL the moment I saw they'd used 'perform' instead of 'do'.
Larry WallLarry Wall quote #309 Do you pine for the days when men were men and wrote their own device drivers?
Linus TorvaldsLinus Torvalds quote #6 If you try to solve a hard problem, the question is not whether you will use a powerful enough language, but whether you will (a) use a powerful language, (b) write a de facto interpreter for one, or (c) yourself become a human compiler for one.
Paul GrahamPaul Graham quote #5 I've seen occasional articles about how to manage programmers. Really there should be two articles: one about what to do if you are yourself a programmer, and one about what to do if you're not. And the second could probably be condensed into two words: give up.
Paul GrahamPaul Graham quote #12 Someone helped us a lot with the atomic bomb. The intelligence (service) played a huge role. These Rosenbergs suffered in America. It is not excluded that they helped us. But we shouldn't really speak about it, because we might receive this kind of help in the future.
Vyacheslav MolotovVyacheslav Molotov quote #2 We didn't put in ^^ because then we'd have to keep telling people what it means, and then we'd have to keep telling them why it doesn't short circuit. :-/
Larry WallLarry Wall quote #92 switch (ref $@) { OverflowError => warn 'Dam needs to be drained'; DomainError => warn 'King needs to be trained'; NuclearWarError => die; }
Larry WallLarry Wall quote #129 If this were Ada, I suppose we'd just constant fold 1/0 into die 'Illegal division by zero
Larry WallLarry Wall quote #172 #define NULL 0 /* silly thing is, we don't even use this */
Larry WallLarry Wall quote #238 #define SIGILL 6 /* blech */
Larry WallLarry Wall quote #239 break; /* don't do magic till later */
Larry WallLarry Wall quote #242 stab_val(stab)->str_nok = 1; /* what a wonderful hack! */
Larry WallLarry Wall quote #243 #else /* !STDSTDIO */ /* The big, slow, and stupid way */
Larry WallLarry Wall quote #263 /* This bit of chicanery makes a unary function followed by a parenthesis into a function with one argument, highest precedence. */
Larry WallLarry Wall quote #264 It's all magic. :-)
Larry WallLarry Wall quote #13 Help save the world!
Larry WallLarry Wall quote #268 C4's prime marketing concept is the appeal to a 16-34 audience. This has some strange consequences-a series explaining Islam, for example, is entrusted to Peaches Geldof. There's an obsession with adolescent transgression and sex. Gordon Ramsay is hired to make a series called The F Word; Designer Vaginas is followed by The World's Biggest Penis. Earlier this autumn, unless I dreamed it, we were subject to a 'wank week.'
Sir Jeremy IsaacsSir Jeremy Isaacs quote #3 OOP to me means only messaging, local retention and protection and hiding of state-process, and extreme late-binding of all things. It can be done in Smalltalk and in LISP. There are possibly other systems in which this is possible, but I'm not aware of them.
Alan KayAlan Kay quote #7