108
submitted 9 months ago by yogthos@lemmy.ml to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] airbussy@lemmy.one 7 points 9 months ago

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

[-] fibojoly@sh.itjust.works 4 points 9 months ago* (last edited 9 months 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 9 months ago

Reverse Polish notation, right? Operand operand operator?

[-] fibojoly@sh.itjust.works 1 points 9 months 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 9 months ago

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

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

Programmer Humor

31251 readers
919 users here now

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

Rules:

founded 4 years ago
MODERATORS