this post was submitted on 24 Sep 2023
108 points (88.0% liked)

Programmer Humor

32380 readers
1402 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 1 year ago (2 children)

Then there's Haskell where arguments to a function are given with spaces

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

I have fond memories of RPL on the HP48 calculators where you would give arguments as a stack, then call the function. Something like (a+b)*c could be written C A B + * Such fun!

[–] [email protected] 1 points 1 year ago (1 children)

Reverse Polish notation, right? Operand operand operator?

[–] [email protected] 1 points 1 year ago

That's the one. The Wikipedia article has some extensive examples, too.

Its weird syntax prepared us well to face the horror of assembly language later on, so I have a certain fondness for it. That and I had absolutely no point of comparison at the time, haha!

[–] [email protected] 2 points 1 year ago

It makes sense if you just think of everything as a function.