@airbussy@lemmy.one
link
fedilink
English
71Y

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

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
link
fedilink
English
11Y

Reverse Polish notation, right? Operand operand operator?

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
link
fedilink
English
21Y

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

Create a post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.48K Posts
  • 32.5K Comments
  • Modlog