Skip to content
quotesby

325 Larry Wall Quotes

Larry Wall delivers witty, tongue-in-cheek musings about programming, Perl quirks, and communication.

Larry Wall quotes

  1. Although the Perl Slogan is There's More Than One Way to Do It, I hesitate to make 10 ways to do something. :-)

    Permalink to quote #1
  2. And don't tell me there isn't one bit of difference between null and space, because that's exactly how much difference there is. :-)

    Permalink to quote #2
  3. Besides, REAL computers have a rename() system call. :-)

    Permalink to quote #3
  4. Chip Salzenberg sent me a complete patch to add System V IPC (msg, sem and shm calls), so I added them. If that bothers you, you can always undefine them in config.sh. :-)

    Permalink to quote #4
  5. I don't know if it's what you want, but it's what you get. :-)

    Permalink to quote #5
  6. I dunno, I dream in Perl sometimes...

    Permalink to quote #6
  7. Piet van Oostrum: I find this a nice feature but it is not according to the documentation. Or is it a BUG? Larry Wall: Let's call it an accidental feature. :-)

    Permalink to quote #7
  8. (To someone at New York University) If you consistently take an antagonistic approach, however, people are going to start thinking you're from New York. :-)

    Permalink to quote #8
  9. If you want to program in C, program in C. It's a nice language. I use it occasionally... :-)

    Permalink to quote #9
  10. I know it's weird, but it does make it easier to write poetry in perl. :-)

    Permalink to quote #10
  11. I'm sure that that could be indented more readably, but I'm scared of the awk parser.

    Permalink to quote #11
  12. It is, of course, written in Perl. Translation to C is left as an exercise for the reader. :-)

    Permalink to quote #12
  13. It's all magic. :-)

    Permalink to quote #13
  14. It's documented in The Book, somewhere...

    Permalink to quote #14
  15. It won't be covered in the book. The source code has to be useful for something, after all... :-)

    Permalink to quote #15
  16. Dan Smith: I've tried (in vi) 'g/[a-z] [a-z]/s//_/'...but that doesn't cut it. Any ideas? (I take it that it may be a two-pass sort of solution). Larry Wall: In the first pass, install perl. :-)

    Permalink to quote #16
  17. Let's say the docs present a simplified view of reality... :-)

    Permalink to quote #17
  18. Let us be charitable, and call it a misleading feature :-)

    Permalink to quote #18
  19. Perl programming is an *empirical* science!

    Permalink to quote #19
  20. Randal said it would be tough to do in sed. He didn't say he didn't understand sed. Randal understands sed quite well. Which is why he uses Perl. :-)

    Permalink to quote #20
  21. Real programmers can write assembly code in any language. :-)

    Permalink to quote #21
  22. The only disadvantage I see is that it would force everyone to get Perl. Horrors. :-)

    Permalink to quote #22
  23. There are probably better ways to do that, but it would make the parser more complex. I do, occasionally, struggle feebly against complexity... :-)

    Permalink to quote #23
  24. There are still some other things to do, so don't think if I didn't fix your favorite bug that your bug report is in the bit bucket. (It may be, but don't think it. :-)

    Permalink to quote #24
  25. Though I'll admit readability suffers slightly...

    Permalink to quote #25
  26. What about WRITING it first and rationalizing it afterwards? :-)

    Permalink to quote #26
  27. You want it in one line? Does it have to fit in 80 columns? :-)

    Permalink to quote #27
  28. All language designers are arrogant. Goes with the territory... :-)

    Permalink to quote #28
  29. Besides, including <std_ice_cubes.h> is a fatal error on machines that don't have it yet. Bad language design, there... :-)

    Permalink to quote #29
  30. Besides, it's good to force C programmers to use the toolbox occasionally. :-)

    Permalink to quote #30
  31. Hey, I had to let awk be better at *something*... :-)

    Permalink to quote #31
  32. If I allowed 'next $label' then I'd also have to allow 'goto $label', and I don't think you really want that... :-)

    Permalink to quote #32
  33. In general, if you think something isn't in Perl, try it out, because it usually is. :-)

    Permalink to quote #33
  34. I think it's a new feature. Don't tell anyone it was an accident. :-)

    Permalink to quote #34
  35. It's there as a sop to former Ada programmers. :-)

    Permalink to quote #35
  36. I won't mention any names, because I don't want to get sun4's into trouble... :-)

    Permalink to quote #36
  37. Just don't create a file called -rf. :-)

    Permalink to quote #37
  38. last|perl -pe '$_ x=/(..:..)...(.*)/&&$1ge$1&&$1lt$2' That's gonna be tough for Randal to beat... :-)

    Permalink to quote #38
  39. No, I'm not going to explain it. If you can't figure it out, you didn't want to know anyway... :-)

    Permalink to quote #39
  40. Perl itself is usually pretty good about telling you what you shouldn't do. :-)

    Permalink to quote #40
  41. Sorry. My testing organization is either too small, or too large, depending on how you look at it. :-)

    Permalink to quote #41
  42. 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. :-)

    Permalink to quote #42
  43. We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise.

    Permalink to quote #43
  44. ... an initial underscore already conveys strong feelings of magicalness to a C programmer.

    Permalink to quote #44
  45. And I don't like doing silly things (except on purpose).

    Permalink to quote #45
  46. : And it goes against the grain of building small tools. Innocent, Your Honor. Perl users build small tools all day long.

    Permalink to quote #46
  47. But you have to allow a little for the desire to evangelize when you think you have good news.

    Permalink to quote #47
  48. Down that path lies madness. On the other hand, the road to hell is paved with melting snowballs.

    Permalink to quote #48
  49. If I don't document something, it's usually either for a good reason, or a bad reason. In this case it's a good reason. :-)

    Permalink to quote #49
  50. If you want to see useful Perl examples, we can certainly arrange to have comp.lang.misc flooded with them, but I don't think that would help the advance of civilization. :-)

    Permalink to quote #50
  51. > (It's sorta like sed, but not. It's sorta like awk, but not. etc.) Guilty as charged. Perl is happily ugly, and happily derivative.

    Permalink to quote #51
  52. Just don't compare it with a real language, or you'll be unhappy... :-)

    Permalink to quote #52
  53. Lispers are among the best grads of the Sweep-It-Under-Someone-Else's-Carpet School of Simulated Simplicity. [Was that sufficiently incendiary? :-)]

    Permalink to quote #53
  54. There ain't nothin' in this world that's worth being a snot over.

    Permalink to quote #54
  55. ...this does not mean that some of us should not want, in a rather dispassionate sort of way, to put a bullet through csh's head.

    Permalink to quote #55
  56. Unix is like a toll road on which you have to stop every 50 feet to pay another nickel. But hey! You only feel 5 cents poorer each time.

    Permalink to quote #56
  57. What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?

    Permalink to quote #57
  58. You have to admit that it's difficult to misplace the Perl sources. :-)

    Permalink to quote #58
  59. Doing linear scans over an associative array is like trying to club someone to death with a loaded Uzi.

    Permalink to quote #59
  60. Well, enough clowning around. Perl is, in intent, a cleaned up and summarized version of that wonderful semi-natural language known as 'Unix'.

    Permalink to quote #60
  61. Anyway, there's plenty of room for doubt. It might seem easy enough, but computer language design is just like a stroll in the park. Jurassic Park, that is.

    Permalink to quote #61
  62. Lisp has all the visual appeal of oatmeal with fingernail clippings mixed in.

    Permalink to quote #62
  63. I don't like your I-can-use-anything-as-an-adjective attitude.

    Permalink to quote #63
  64. I want to see people using Perl to glue things together creatively, not just technically but also socially.

    Permalink to quote #64
  65. The whole history of computers is rampant with cheerleading at best and bigotry at worst.

    Permalink to quote #65
  66. If someone stinks, view it as a reason to help them, not a reason to avoid them.

    Permalink to quote #66
  67. As usual, I'm overstating the case to knock a few neurons loose, but the truth is usually somewhere in the muddle, uh, middle.

    Permalink to quote #67
  68. Odd that we think definitions are definitive. :-)

    Permalink to quote #68
  69. : But for some things, Perl just isn't the optimal choice. (yet) :-)

    Permalink to quote #69
  70. I don't like this official/unofficial distinction. It sound, er, officious.

    Permalink to quote #70
  71. If you write something wrong enough, I'll be glad to make up a new witticism just for you.

    Permalink to quote #71
  72. So far we've managed to avoid turning Perl into APL. :-)

    Permalink to quote #72
  73. Not that I have anything much against redundancy. But I said that already.

    Permalink to quote #73
  74. They can always run stderr through uniq. :-)

    Permalink to quote #74
  75. I'd put my money where my mouth is, but my mouth keeps moving.

    Permalink to quote #75
  76. Of course, I reserve the right to make wholly stupid changes to Perl if I think they improve the language. :-)

    Permalink to quote #76
  77. Call me bored, but don't call me boring.

    Permalink to quote #77
  78. I think $[ is more like a coelacanth than a mastadon.

    Permalink to quote #78
  79. We question most of the mantras around here periodically, in case you hadn't noticed. :-)

    Permalink to quote #79
  80. 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.

    Permalink to quote #80
  81. Tcl long ago fell into the Forth trap, and is now trying desperately to extricate itself (with some help from Sun's marketing department).

    Permalink to quote #81
  82. The whole intent of Perl 5's module system was to encourage the growth of Perl culture rather than the Perl core.

    Permalink to quote #82
  83. Randal can write one-liners again. Everyone is happy, and peace spreads over the whole Earth.

    Permalink to quote #83
  84. Life gets boring, someone invents another necessity, and once again we turn the crank on the screwjack of progress hoping that nobody gets screwed.

    Permalink to quote #84
  85. No prisoner's dilemma here. Over the long term, symbiosis is more useful than parasitism. More fun, too. Ask any mitochondria.

    Permalink to quote #85
  86. P.S. Perl's master plan (or what passes for one) is to take over the world like English did. Er, *as* English did...

    Permalink to quote #86
  87. You can prove anything by mentioning another computer language. :-)

    Permalink to quote #87
  88. 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. :-)

    Permalink to quote #88
  89. I'm sure a mathematician would claim that 0 and 1 are both very interesting numbers. :-)

    Permalink to quote #89
  90. True, it returns ' ' for false, but ' ' is an even more interesting number than 0.

    Permalink to quote #90
  91. Any false value is gonna be fairly boring in Perl, mathematicians notwithstanding.

    Permalink to quote #91
  92. 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. :-/

    Permalink to quote #92
  93. Anybody want a binary telemetry frame editor written in Perl?

    Permalink to quote #93
  94. Perhaps I'm missing the gene for making enemies. :-)

    Permalink to quote #94
  95. Perl has a long tradition of working around compilers.

    Permalink to quote #95
  96. Personally, I like to defiantly split my infinitives. :-)

    Permalink to quote #96
  97. Real theology is always rather shocking to people who already think they know what they think. I'm still shocked myself. :-)

    Permalink to quote #97
  98. The computer should be doing the hard work. That's what it's paid to do, after all.

    Permalink to quote #98
  99. The following two statements are usually both true: There's not enough documentation. There's too much documentation.

    Permalink to quote #99
  100. Of course, this being Perl, we could always take both approaches. :-)

    Permalink to quote #100
  101. The random quantum fluctuations of my brain are historical accidents that happen to have decided that the concepts of dynamic scoping and lexical scoping are orthogonal and should remain that way.

    Permalink to quote #101
  102. At many levels, Perl is a 'diagonal' language.

    Permalink to quote #102
  103. I'm serious about thinking through all the possibilities before we settle on anything. All things have the advantages of their disadvantages, and vice versa.

    Permalink to quote #103
  104. Part of language design is perturbing the proposed feature in various directions to see how it might generalize in the future.

    Permalink to quote #104
  105. Sometimes we choose the generalization. Sometimes we don't.

    Permalink to quote #105
  106. I wouldn't ever write the full sentence myself, but then, I never use goto either.

    Permalink to quote #106
  107. It's appositival, if it's there. And it doesn't have to be there. And it's really obvious that it's there when it's there.

    Permalink to quote #107
  108. Oh, get ahold of yourself. Nobody's proposing that we parse English.

    Permalink to quote #108
  109. As with all the other proposals, it's basically just a list of words. You can deal with that... :-)

    Permalink to quote #109
  110. I hope I'm not getting so famous that I can't think out load [sic] anymore.

    Permalink to quote #110
  111. It would be possible to optimize some forms of goto, but I haven't bothered.

    Permalink to quote #111
  112. A 'goto' in Perl falls into the category of hard things that should be possible, not easy things that should be easy.

    Permalink to quote #112
  113. How do Crays and Alphas handle the POSIX problem?

    Permalink to quote #113
  114. Well, that's more-or-less what I was saying, though obviously addition is a little more cosmic than the bitwise operators.

    Permalink to quote #114
  115. You tell it that it's indicative by appending $!. That's why we made $! such a short variable name, after all. :-)

    Permalink to quote #115
  116. The choice of approaches could be made the responsibility of the programmer.

    Permalink to quote #116
  117. As someone pointed out, you could have an attribute that says 'optimize the heck out of this routine', and your definition of heck would be a parameter to the optimizer.

    Permalink to quote #117
  118. If you're going to define a shortcut, then make it the base [sic] darn shortcut you can.

    Permalink to quote #118
  119. It is my job in life to travel all roads, so that some may take the road less travelled, and others the road more travelled, and all have a pleasant day.

    Permalink to quote #119
  120. It's getting harder and harder to think out loud. One of these days someone's gonna go off and kill Thomas a'Becket for me...

    Permalink to quote #120
  121. I was about to say, 'Avoid fame like the plague,' but you know, they can cure the plague with penicillin these days.

    Permalink to quote #121
  122. 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.

    Permalink to quote #122
  123. Oh, wait, that was Randal...nevermind...

    Permalink to quote #123
  124. P.S. I suppose I really should be nicer to people today, considering I'll be singing in Billy Graham's choir tonight... :-)

    Permalink to quote #124
  125. Magically turning people's old scalar contexts into list contexts is a recipe for several kinds of disaster.

    Permalink to quote #125
  126. And we can always supply them with a program that makes identical files into links to a single file.

    Permalink to quote #126
  127. I wasn't recommending that we make the links for them, only provide them with the tools to do so if they want to take the gamble (or the gambol).

    Permalink to quote #127
  128. This has been planned for some time. I guess we'll just have to find someone with an exceptionally round tuit.

    Permalink to quote #128
  129. switch (ref $@) { OverflowError => warn 'Dam needs to be drained'; DomainError => warn 'King needs to be trained'; NuclearWarError => die; }

    Permalink to quote #129
  130. I surely do hope that's a syntax error.

    Permalink to quote #130
  131. Anyway, my money is still on use strict vars . . .

    Permalink to quote #131
  132. If you remove stricture from a large Perl program currently, you're just installing delayed bugs, whereas with this feature, you're installing an instant bug that's easily fixed. Whoopee.

    Permalink to quote #132
  133. I don't think it's worth washing hogs over.

    Permalink to quote #133
  134. It's certainly easy to calculate the average attendance for Perl conferences.

    Permalink to quote #134
  135. Tcl tends to get ported to weird places like routers.

    Permalink to quote #135
  136. Historically Tcl has always stored all intermediate results as strings. (With 8.0 they're rethinking that. Of course, Perl rethought that from the start.)

    Permalink to quote #136
  137. Just don't make the '9' format pack/unpack numbers... :-)

    Permalink to quote #137
  138. I think that's easier to read. Pardon me. Less difficult to read.

    Permalink to quote #138
  139. To ordinary folks, conversion is not always automatic. It's something that may or may not require explicit assistance. See Billy Graham. :-)

    Permalink to quote #139
  140. Well, you can implement a Perl peek() with unpack('P',...). Once you have that, there's only security through obscurity. :-)

    Permalink to quote #140
  141. It may be possible to get this condition from within Perl if a signal handler runs at just the wrong moment. Another point for Chip... :-)

    Permalink to quote #141
  142. As pointed out in a followup, Real Perl Programmers prefer things to be visually distinct.

    Permalink to quote #142
  143. The Harvard Law states: Under controlled conditions of light, temperature, humidity, and nutrition, the organism will do as it damn well pleases.

    Permalink to quote #143
  144. That should probably be written: no !@#$%^&*:@!semicolon

    Permalink to quote #144
  145. That gets us out of deciding how to spell Reg[eE]xp?|RE . . . Of course, then we have to decide what ref $re returns... :-)

    Permalink to quote #145
  146. 'Course, that doesn't work when 'a' contains parentheses.

    Permalink to quote #146
  147. I was trying not to mention backtracking. Which, of course, means that yours is 'righter' than mine, in a theoretical sense.

    Permalink to quote #147
  148. Not that I'm against sneaking some notions into people's heads upon occasion. (Or blasting them in outright.)

    Permalink to quote #148
  149. (To the extent that anyone but a Prolog programmer can understand X totally. (And to the extent that a Prolog programmer can understand 'cut'. :-))

    Permalink to quote #149
  150. Wow, I'm being shot at from both sides. That means I *must* be right. :-)

    Permalink to quote #150
  151. You don't have to wait--you can have it in 5.004_54 or so. :-)

    Permalink to quote #151
  152. There's something to be said for returning the whole syntax tree.

    Permalink to quote #152
  153. It's not really a rule--it's more like a trend.

    Permalink to quote #153
  154. Double *sigh*. _04 is going onto thousands of CDs even as we speak, so to speak.

    Permalink to quote #154
  155. The code also assumes that it's difficult to misspell 'a' or 'b'. :-)

    Permalink to quote #155
  156. Well, hey, let's just make everything into a closure, and then we'll have our general garbage collector, installed by 'use less memory'.

    Permalink to quote #156
  157. People who understand context would be steamed to have someone else dictating how they can call it.

    Permalink to quote #157
  158. For the sake of argument I'll ignore all your fighting words.

    Permalink to quote #158
  159. Think of prototypes as a funny markup language--the interpretation is left up to the rendering engine.

    Permalink to quote #159
  160. The way these things go, there are probably 6 or 8 kludgey ways to do it, and a better way that involves rethinking something that hasn't been rethunk yet.

    Permalink to quote #160
  161. Beauty? What's that?

    Permalink to quote #161
  162. I'm afraid my gut level reaction is basically, proceed is cute, but cute doesn't cut it in the emergency room.

    Permalink to quote #162
  163. I suppose one could claim that an undocumented feature has no semantics. :-(

    Permalink to quote #163
  164. Yes, we have consensus that we need 64 bit support. :-)

    Permalink to quote #164
  165. : - cut in regexps I don't think we reached consensus on that. We're still backtracking...

    Permalink to quote #165
  166. 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.

    Permalink to quote #166
  167. Perhaps they will have to outlaw sending random lists of words. fee fie foe foo

    Permalink to quote #167
  168. Hey, if pi == 3, and three == 0, does that make pi == 0? :-)

    Permalink to quote #168
  169. (Never thought I'd be telling Malcolm and Ilya the same thing... :-)

    Permalink to quote #169
  170. And other operators aren't so special syntactically, but weird in other ways, like 'scalar', and 'goto'.

    Permalink to quote #170
  171. Portability should be the default.

    Permalink to quote #171
  172. If this were Ada, I suppose we'd just constant fold 1/0 into die 'Illegal division by zero

    Permalink to quote #172
  173. Are you perchance running on a 64-bit machine?

    Permalink to quote #173
  174. Almost nothing in Perl serves a single purpose.

    Permalink to quote #174
  175. There's some entertainment value in watching people juggle nitroglycerin.

    Permalink to quote #175
  176. Reserve your abuse for your true friends.

    Permalink to quote #176
  177. Er, Tom, I hate to be the one to point this out, but your fix list is starting to resemble a feature list. You must be human or something.

    Permalink to quote #177
  178. It's hard to tune heavily tuned code. :-)

    Permalink to quote #178
  179. Perl will always provide the null.

    Permalink to quote #179
  180. It's easy to solve the halting problem with a shotgun. :-)

    Permalink to quote #180
  181. Well, I think Perl should run faster than C. :-)

    Permalink to quote #181
  182. To Perl, or not to Perl, that is the kvetching.

    Permalink to quote #182
  183. I suppose you could switch grammars once you've seen 'use strict subs'. :-)

    Permalink to quote #183
  184. Well, you know, Hubbard had a bunch of people sworn to commit suicide when he died. So of course he never officially died...

    Permalink to quote #184
  185. Even the White House has a press agent. :-)

    Permalink to quote #185
  186. That's a valid argument. I just don't think it's valid enough. :-)

    Permalink to quote #186
  187. Perl should remain fast and intuitive (to the extent that it is :-)

    Permalink to quote #187
  188. I would estimate that the number of programs it breaks in the world will be less than 10. As long as one of those 10 isn't CGI.pm, we're probably okay.

    Permalink to quote #188
  189. Just put in another goto, and then it'll be readable. :-)

    Permalink to quote #189
  190. 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?

    Permalink to quote #190
  191. Y'know, there are other possibilities if we assume that filenames are UTF-8...yikes...wait, put down that meat cleaver! Aieeee!!!

    Permalink to quote #191
  192. print rand rand rand 1, ' '; # interesting distribution

    Permalink to quote #192
  193. : I could understand principles of Perl source in 2-3 days [. . .] Gee, it took me about eleven years. :-)

    Permalink to quote #193
  194. There's often more than one correct thing. There's often more than one right thing. There's often more than one obvious thing.

    Permalink to quote #194
  195. I don't believe I've ever cuddled my elses.

    Permalink to quote #195
  196. I've always maintained a cordial dislike for indent, because it's usually right.

    Permalink to quote #196
  197. I'd make people say 'use Fork;' if I thought I could get away with it.

    Permalink to quote #197
  198. The way I see it, if you declare something portable, you'll always be wrong, and if you declare it non-portable, you'll always be right. :-)

    Permalink to quote #198
  199. Perhaps you should compile your Perl with long doubles one of these megaseconds.

    Permalink to quote #199
  200. : Why Bible quotes exclusively? What happened to the Eastern religions?<BR> I'm still working on the Unicode mods.

    Permalink to quote #200
  201. Maybe we should take a clue from FTP and put in an option like 'print hash marks on every 1024 iterations'. :-)

    Permalink to quote #201
  202. And besides, if Perl really takes off in the Windows space, I think the rest of us would just as soon have a double-agent within ActiveState. :-)

    Permalink to quote #202
  203. The court finds everyone to be in contempt (including himself :-), and orders everyone sentenced to five years hard labor. (Working on Perl, of course.)

    Permalink to quote #203
  204. I note that the Python folks still think they like JPython. I wonder how long that will last?

    Permalink to quote #204
  205. I view the JVM as just another architecture that Perl ought to be ported to. (That, and the Underwood typewriter...)

    Permalink to quote #205
  206. So please don't think I have a 'down' on the MVS people. I'm just pulling off their arms to beat other people over the head with.

    Permalink to quote #206
  207. It's, uh, pseudo code. Yeah, that's the ticket... [...] And 'unicode' is pseudo code for $encoding. :-)

    Permalink to quote #207
  208. : What do people think? What, do people think? :-)

    Permalink to quote #208
  209. Well, sure, I explicitly mentioned 'vtables' last time I brought this up. But a single pointer is fairly paltry, as tables go. :-)

    Permalink to quote #209
  210. I dunno. Perhaps you should be happy that I have a policy of refraining from grumbling about handicapped operating systems. :-)

    Permalink to quote #210
  211. Perl did not get where it is by ignoring psychological factors.

    Permalink to quote #211
  212. On the plus side, it's a lot easier in general to find /usr/include than cpp.

    Permalink to quote #212
  213. Psychotics are consistently inconsistent. The essence of sanity is to be inconsistently inconsistent.

    Permalink to quote #213
  214. That which hits the fan tends to get flung in all directions.

    Permalink to quote #214
  215. If this were Ada, we'd simply doc it as 'erroneous'.

    Permalink to quote #215
  216. So I'm thinking about ??, or !!, or //, or \, or whatever. But I think I like ?? the best so far. Or the least worst.

    Permalink to quote #216
  217. One operator is no big deal. That can be fixed in a jiffy.

    Permalink to quote #217
  218. In Clintonese, that would be 'You are free to infer that I was saying that.' :-)

    Permalink to quote #218
  219. Would you trust the linguistic intuitions of someone who has been studying Latin or Greek for three days?

    Permalink to quote #219
  220. But I know what's important to me, and what isn't. And I think I know what people can get used to, and what they can even learn to like. (It just takes some people longer than others. :-)

    Permalink to quote #220
  221. My arthritic pinkies are already starting to ache just thinking about ||||=.

    Permalink to quote #221
  222. Orthogonality for orthogonality's sake is not something I'm keen on.

    Permalink to quote #222
  223. Must be a different Larry Wall. There are at least 137 of us in the U.S.

    Permalink to quote #223
  224. Symmetry is overrated. Overrated is symmetry.

    Permalink to quote #224
  225. That is a known bug in 5.00550. Either an upgrade or a downgrade will fix it.

    Permalink to quote #225
  226. That being said, I think we should immediately deprecate any string concatenation that combines '19' with '99'. :-)

    Permalink to quote #226
  227. The Golden Gate wasn't our fault either, but we still put a bridge across it.

    Permalink to quote #227
  228. It should be illegal to yell 'Y2K' in a crowded economy. :-)

    Permalink to quote #228
  229. One thing I do understand is that people get scared when I start thinking out loud. :-)

    Permalink to quote #229
  230. : No comment, since this is still hovering (see Larry's reply). Flutter, flutter.

    Permalink to quote #230
  231. We don't have enough parallel universes to allow all uses of all junction types--in the absence of quantum computing the combinatorics are not in our favor...

    Permalink to quote #231
  232. Accidental stacks considered harmful.

    Permalink to quote #232
  233. I try not to confuse roles and traits in my own life. Being the Perl god is a role. Being a stubborn cuss is a trait. :-)

    Permalink to quote #233
  234. 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...

    Permalink to quote #234
  235. I think I'm happier with that. $rubyometer += 0.3 or so. :-)

    Permalink to quote #235
  236. double value; /* or your money back! */ short changed; /* so triple your money back! */

    Permalink to quote #236
  237. /* now make a new head in the exact same spot */

    Permalink to quote #237
  238. #define NULL 0 /* silly thing is, we don't even use this */

    Permalink to quote #238
  239. #define SIGILL 6 /* blech */

    Permalink to quote #239
  240. if (rsfp = mypopen('/bin/mail root','w')) { /* heh, heh */

    Permalink to quote #240
  241. /* And you'll never guess what the dog had */ /* in its mouth... */

    Permalink to quote #241
  242. break; /* don't do magic till later */

    Permalink to quote #242
  243. stab_val(stab)->str_nok = 1; /* what a wonderful hack! */

    Permalink to quote #243
  244. tmps_base = tmps_max; /* protect our mortal string */

    Permalink to quote #244
  245. pos += screamnext[pos] /* does this goof up anywhere? */

    Permalink to quote #245
  246. str->str_pok |= SP_FBM; /* deep magic */ s = (unsigned char*)(str->str_ptr); /* deeper magic */

    Permalink to quote #246
  247. echo 'Congratulations. You aren't running Eunice.

    Permalink to quote #247
  248. echo 'Hmmm...you don't have Berkeley networking in libc.a...' echo 'but the Wollongong group seems to have hacked it in.

    Permalink to quote #248
  249. echo 'ICK, NOTHING WORKED!!! You may have to diddle the includes.';;

    Permalink to quote #249
  250. echo $package has manual pages available in source form. echo 'However, you don't have nroff, so they're probably useless to you.

    Permalink to quote #250
  251. echo 'Your stdio isn't very std.'

    Permalink to quote #251
  252. [End of diatribe. We now return you to your regularly scheduled programming...]

    Permalink to quote #252
  253. OOPS! You naughty creature! You didn't run Configure with sh! I will attempt to remedy the situation by running sh for you...

    Permalink to quote #253
  254. That means I'll have to use $ans to suppress newlines now. Life is ridiculous.

    Permalink to quote #254
  255. There is, however, a strange, musty smell in the air that reminds me of something...hmm...yes...I've got it...there's a VMS nearby, or I'm a Blit.

    Permalink to quote #255
  256. You can't have filenames longer than 14 chars. You can't even think about them!

    Permalink to quote #256
  257. Your csh still thinks true is false. Write to your vendor today and tell them that next year Configure ought to 'rm /bin/csh' unless they fix their blasted shell. :-)

    Permalink to quote #257
  258. /* we have tried to make this normal case as abnormal as possible */

    Permalink to quote #258
  259. s = (char*)(long)retval; /* ouch */

    Permalink to quote #259
  260. signal(i, SIG_DFL); /* crunch, crunch, crunch */

    Permalink to quote #260
  261. if (instr(buf,sys_errlist[errno])) /* you don't see this */

    Permalink to quote #261
  262. /* dbmrefcnt--; */ /* doesn't work, rats */

    Permalink to quote #262
  263. #else /* !STDSTDIO */ /* The big, slow, and stupid way */

    Permalink to quote #263
  264. /* This bit of chicanery makes a unary function followed by a parenthesis into a function with one argument, highest precedence. */

    Permalink to quote #264
  265. Be consistent.

    Permalink to quote #265
  266. Does the same as the system call of that name. If you don't know what it does, don't worry about it.

    Permalink to quote #266
  267. 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.

    Permalink to quote #267
  268. Help save the world!

    Permalink to quote #268
  269. If you want your program to be readable, consider supplying the argument.

    Permalink to quote #269
  270. In general, they do what you want, unless you want consistency.

    Permalink to quote #270
  271. Okay, that's definitely enough hype.

    Permalink to quote #271
  272. Perl is designed to give you several ways to do anything, so consider picking the most readable one.

    Permalink to quote #272
  273. Remember though that THERE IS NO GENERAL RULE FOR CONVERTING A LIST INTO A SCALAR.

    Permalink to quote #273
  274. The autodecrement is not magical.

    Permalink to quote #274
  275. *** The previous line contains the naughty word '$&'. if /(ibm|apple|awk)/; # :-)

    Permalink to quote #275
  276. When in doubt, parenthesize. At the very least it will let some poor schmuck bounce on the % key in vi.

    Permalink to quote #276
  277. But I'm not here to talk about postmodernism. I tried to do that last spring, and afterwards I was thoroughly deconstructed by the deconstructionists for attempting to deconstruct deconstructionism. At least, that's the construction I put on their construction of it. I was talking about postmodern culture, and they thought I was talking about postmodern literature. Not at all the same thing!

    Permalink to quote #277
  278. And C was good at something I like to call manipulexity, that is the manipulation of complex things. While shell was good at something else which I call whipuptitude, the aptitude for whipping things up.

    Permalink to quote #278
  279. So... Perhaps the Perl 6 slogan should be 'All Your Paradigms Are Belong To Us'. We'll get to that.

    Permalink to quote #279
  280. I simultaneously believe that languages are wonderful and awful. You have to hold both of those. Ugly things can be beautiful. And beautiful can get ugly very fast. You know, take Lisp. You know, it's the most beautiful language in the world. At least up until Haskell came along. (laughter) But, you know, every program in Lisp is just ugly. I don't figure how that works.

    Permalink to quote #280
  281. Now, I'm not the only language designer with irrationalities. You can think of some languages to go with some of these things.

    Permalink to quote #281
  282. How do you type it? With your keyboard.

    Permalink to quote #282
  283. 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.

    Permalink to quote #283
  284. There are a lotta computer languages out there doing drugs.

    Permalink to quote #284
  285. In computer science, it is said that premature optimization is the root of all evil.

    Permalink to quote #285
  286. [Boxed] Multiple bouncing balls in a box are a metaphor for community. Notice how the escaping balls explode. This is what happens to people who move from Perl to Ruby.

    Permalink to quote #286
  287. ...Then you start building things like the Berlin wall to keep people inside your community. In anthropological terms, that's tribalism. A tribal Perl programmer might say, 'If you leave the Perl tribe to go and join the Python tribe, we will hunt you down, cook you, and eat you.' Or if you join the Ruby tribe, you will explode. By and large, I am not in favor of tribalism. Except for my tribe, of course.

    Permalink to quote #287
  288. The three chief virtues of a programmer are: Laziness, Impatience and Hubris.

    Permalink to quote #288
  289. The problem with being consistent is that there are lots of ways to be consistent, and they're all inconsistent with each other.

    Permalink to quote #289
  290. There's really no way to fix this and still keep Perl pathologically eclectic.

    Permalink to quote #290
  291. :I also discovered Larry's First Law of Language Redesign: Everyone wants the colon.

    Permalink to quote #291
  292. Larry's 2nd Law of Language Redesign: Larry gets the colon.

    Permalink to quote #292
  293. When's the last time you used duct tape on a duct?

    Permalink to quote #293
  294. Jesse Vincent: My dog is Web 2.0. Prove me wrong. Larry: Does your dog have a long tail? Damian Conway: If you enjoyed these practices, find 245 more like this in this book. Larry: Does your dog have a long tail?

    Permalink to quote #294
  295. Q. Why is this so clumsy? A. The trick is to use Perl's strengths rather than its weaknesses.

    Permalink to quote #295
  296. 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... :-)

    Permalink to quote #296
  297. I'll say it again for the logic impaired.

    Permalink to quote #297
  298. 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.

    Permalink to quote #298
  299. 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. :-)

    Permalink to quote #299
  300. It is easier to port a shell than a shell script.

    Permalink to quote #300
  301. : I've heard that there is a shell (bourne or csh) to perl filter, does : anyone know of this or where I can get it? Yeah, you filter it through Tom Christiansen. :-)

    Permalink to quote #301
  302. Tactical? TACTICAL!?!? Hey, buddy, we went from kilotons to megatons several minutes ago. We don't need no stinkin' tactical nukes. (By the way, do you have change for 10 million people?)

    Permalink to quote #302
  303. > 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...

    Permalink to quote #303
  304. : 1. What is the possibility of this being added in the future? In the near future, the probability is close to zero. In the distant future, I'll be dead, and posterity can do whatever they like... :-)

    Permalink to quote #304
  305. (Presuming for the sake of argument that it's even *possible* to design better code in Perl than in C. :-)

    Permalink to quote #305
  306. Obviously I was either onto something, or on something.

    Permalink to quote #306
  307. It's the Magic that counts.

    Permalink to quote #307
  308. May you do Good Magic with Perl.

    Permalink to quote #308
  309. I knew I'd hate COBOL the moment I saw they'd used 'perform' instead of 'do'.

    Permalink to quote #309
  310. But we can both blame it all on Henry.

    Permalink to quote #310
  311. Hmm, doubtful. The source code generally wasn't there when I needed it.

    Permalink to quote #311
  312. If ease of use was the highest goal, we'd all be driving golf carts.

    Permalink to quote #312
  313. 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.

    Permalink to quote #313
  314. What you'll need most is courage. It is not an easy path that you've set your foot upon.

    Permalink to quote #314
  315. Optimizations always bust things, because all optimizations are, in the long haul, a form of cheating, and cheaters eventually get caught.

    Permalink to quote #315

Also attributed

  1. While I have historically been a late worker, you know, sometimes I even like to get up early and see what's happened in the few hours of the night and then I often take a nap in the middle of the day just to sort of make up for stretching my day out.

  2. We can debug relationships, but it's always good policy to consider the people themselves to be features. People get annoyed when you try to debug them.

  3. Perl is worse than Python because people wanted it worse.

  4. As a linguist, I don't think of Ada as a big language. Now, English and Japanese, those are big languages. Ada is just a medium-sized language.

  5. I was raised a musician and I played classic music, violin, in orchestras and music comedy theaters, I have music running around in my head all the time, and if I hear music that's too interesting, I have to pay attention to it.

  6. We're really serious about reinventing everything that needs reinventing.

  7. Never put off till tomorrow what you can put off till the day after tomorrow. Like a variant of the song, Tomorrow, only it's more of the idea, the Mexican idea of mañana, you know, [singing] mañana, mañana, I love you, mañana, you're always a day away.

  8. I'm just paid to do whatever I want to do. Some of the time it's development, and some of the time it's just goofing off.

  9. Human languages tend to be much more ambiguous than computer languages because humans are much smarter about interpreting the context.

  10. Perl was designed to work more like a natural language. It's a little more complicated but there are more shortcuts, and once you learned the language, it's more expressive.