109
you are viewing a single comment's thread
view the rest of the comments
[-] airbussy@lemmy.one 7 points 1 year ago

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

[-] fibojoly@sh.itjust.works 4 points 1 year ago* (last edited 1 year ago)

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!

[-] kale@lemmy.zip 1 points 1 year ago

Reverse Polish notation, right? Operand operand operator?

[-] fibojoly@sh.itjust.works 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!

[-] jana@leminal.space 2 points 1 year ago

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

this post was submitted on 24 Sep 2023
109 points (88.7% liked)

Programmer Humor

32469 readers
621 users here now

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

Rules:

founded 5 years ago
MODERATORS