Remix.run Logo
Perlisisms(cs.yale.edu)
62 points by tosh 4 hours ago | 28 comments
isityettime 22 minutes ago | parent | next [-]

> A language that doesn't affect the way you think about programming, is not worth knowing.

This one stood out to me. I'd say it's a favorite.

These others are interesting in the age of LLMs:

> 93. When someone says "I want a programming language in which I need only say what I wish done," give him a lollipop.

> 114. Within a computer natural language is unnatural.

> 115. Most people find the concept of programming obvious, but the doing impossible.

> 27. Once you understand how to write a program get someone else to write it.

> 113. The only constructive theory connecting neuroscience and psychology will arise from the study of software.

This one remains worth thinking about in terms of the consequences and costs of automation and computerization, LLM-powered or not:

> 99. In man-machine symbiosis, it is man who must adjust: The machines can't.

>

layer8 7 minutes ago | parent [-]

Also: 102. One can't proceed from the informal to the formal by formal means.

rezmason an hour ago | parent | prev | next [-]

These are fun to say out loud in the voice of the Kai Lentit's Perl programmer

https://youtu.be/0jK0ytvjv-E?t=43

https://youtu.be/xE9W9Ghe4Jk?t=238

LelouBil 2 hours ago | parent | prev | next [-]

> A programming language is low level when its programs require attention to the irrelevant.

Great definition actually

dundarious 2 hours ago | parent | next [-]

Relevance is relative, very much so.

xn7 an hour ago | parent [-]

That makes that quote even better, no? What is relevant to you might not be relevant to me, the right level for you might too far low level for me.

hbcdbff 2 hours ago | parent | prev [-]

Disagree - like many of the quotes on this page, it seems interesting at a very superficial level but upon further inspection turns out to be nonsensical.

If something requires attention, it’s by definition relevant

rpdillon 18 minutes ago | parent | next [-]

These were published in the Communications of the ACM in the 1980s, I discovered them in the early 2000s, and have been reading them annually since. Every year, one of the ones that didn't make sense to me the previous year suddenly does.

In this particular quote, Perlis is talking about relevancy to the problem. He's hinting at the difference between incidental complexity and inherent complexity. Inherent complexity is a property of the problem, and incidental complexity is a property of the solution. He's arguing against solutions that bring incidental complexity that requires attention to aspects that aren't relevant to the problem.

munificent an hour ago | parent | prev | next [-]

If you want to go out of your way to interpret things as uncharitably as possible, you'll find yourself missing out on a lot of potential wisdom.

Obviously, it's relevant if the language itself forces the user to worry about some pointless minutia. The problem is that the language created that relevance, when it is otherwise irrelevant to the problem the user is trying to solve.

Forward declarations are relevant in C because the program won't compile without them. But they aren't relevant in any meaningful way to any domain a user might be writing C programs for.

addaon 2 hours ago | parent | prev | next [-]

"If something requires attention, it’s by definition relevant"

Not really. Consider an assembly language for a processor with a very orthogonal register set. The number of registers used by a block of code is relevant, but the identity of those registers isn't. That is, if the code can be written without spilling with six distinct, uniform registers, the choice of one of the 6! possible assignments of those six registers are irrelevant. But when writing that code, you still need to make the choice. And in real assembly languages, it's not necessarily obvious whether the choice here is arbitrary and unconstrained, or externally constrained (e.g. when choosing a mapping that avoids a move instruction by forcing the caller to pass a certain value in an agreed register; or when using an almost-orthogonal register set where it's unclear if later code cares that the value is left in a register that is also the possible target of a div instruction or something), so this requires attention at both write-time and read-time, even when irrelevant.

gwerbin an hour ago | parent [-]

And if I'm writing a script to query the Google Maps API then I really don't want to have to think about registers at all.

Maybe "high-level"" low level" should be understood in terms relative to the task and its goals.

kbenson an hour ago | parent | prev [-]

But relevant to what? Some things are relevant directly to the outcome by nature of what you're trying to express, while some other things are essentially incantations you need to repeat the same every time. Bad build systems and what you have to do to make them work are definitely relevant towards building a working program when you're using them, but at the same time the specific details are often somewhat irrelevant for your goal.

Also, many stupid or nonsensical statements can often yield wisdom if you meditate on them enough. Indeed, many (most?) zen koans are so simplistic that to get any usefulness out of them you have to insert you own assumptions and try to determine how it might apply.

chriscbr 4 hours ago | parent | prev | next [-]

Random self plug - I liked a lot of these quotes from Alan Perlis, so around a year ago I bought the domain https://perl.is/ to display them.

summa_tech 3 hours ago | parent [-]

Neat! What do you think about adding a "-2, -1, 0, +1, +2" agreement scale to each quote and showing the average instead of votes?

I think many of those are pretty subjective, and maybe not always right for everyone or for all time. But there are certainly going to be some universal pearls of wisdom, and neither of us can - by ourselves - tell which ones they are.

rpdillon 15 minutes ago | parent | prev | next [-]

My favorite has always been:

> 31. Simplicity does not precede complexity, but follows it.

Kind of close to "build the first one to throw away".

shawn_w 23 minutes ago | parent | prev | next [-]

I read this as "Perlism" at first and got excited to see perl on HN.

dtagames 4 hours ago | parent | prev | next [-]

And in #27 we find the rationale behind all LLM coding agents, "Once you understand how a program works, get someone else to write it for you."

hugo0vaz 3 hours ago | parent | next [-]

I think you misunderstood what the phrase actually means. You can only successfully manage or outsource a process once you understand it well enough to explain it. Therefore, most of the people doing agentic engineering are not following this Perlisim.

dtagames 2 hours ago | parent [-]

Oh, that's exactly what I meant, except its corollary. People who do understand how software works should absolutely be having agents code it. And we do.

fhars 2 hours ago | parent | prev | next [-]

The actual prescient LLM quote is "7. It is easier to write an incorrect program than understand a correct one."

summa_tech 3 hours ago | parent | prev [-]

Once you understand how a program works, get someone else to write it for you. Then, you will quickly find out your understanding was insufficient.

dtagames 2 hours ago | parent [-]

Is that ever true! I wrote a whole Medium article[0] about this, one of my most popular. It's called "YOU ARE BUGS" as a joke from Three Body Problem on Netflix.

[0] https://medium.com/gitconnected/you-are-bugs-improving-your-...

ripe an hour ago | parent | prev | next [-]

> 102. One can't proceed from the informal to the formal by formal means.

Seems to be a strike against LLM-based programming systems like Claude.

jancsika 2 hours ago | parent | prev | next [-]

> 2. Functions delay binding; data structures induce binding. Moral: Structure data late in the programming process.

A good way to enforce this is to encrypt the data at the beginning of the process.

Then any function that returns structured data is clearly foolish and can be marked for removal.

LelouBil 2 hours ago | parent | prev | next [-]

> Once you understand how to write a program get someone else to write it.

Pretty relevant with LLMs and coding agents.

sriram_malhar 4 hours ago | parent | prev | next [-]

This feels so quaint today. How I'd like to be back in that timeframe.

DonHopkins 2 hours ago | parent | prev [-]

>1. One man's constant is another man's variable.

Did you ever have one of those days when variables didn't and constants weren't?

layer8 3 minutes ago | parent [-]

It constantly varies.