xkcd #3277: Forth

Title text:

I NOTATION POLISH REVERSE ❤️

Transcript:

Transcript will show once it’s been added to explainxkcd.com

Source: https://xkcd.com/3277/

explainxkcd for #3277

all 11 comments

sorted by: hot top controversial new old
[–] 18 points 1 month ago (1 child)

I've reached the point where I constantly screw up with conventional calculators I'm so used to RPN.

  • source
  • hideshow 2 child comments
  • [–] 10 points 4 weeks ago

    Alternatively, (❤️ I LISP)

  • source
  • [–] 5 points 1 month ago

    My first professional job was writing FORTH for fruit machines. I'd played with it a bit before on the Jupiter Ace we had which sadly never really took off despite being more elegant than the ZX81.

  • source
  • [–] 4 points 1 month ago

    They wasted ) to some shit. ( should have been push next word to X-stack and ) should have been pop and execute top of X-stack.

    Then writing (+ m n) would be equal to m n + and (IF (< A B) (THEN C ELSE D))) would be identical to writing A B < IF C ELSE D THEN

    But they also got rid of and avoiding CREATE’s extra writes.

  • source
  • [–] 3 points 1 month ago (1 child)

    RPN breaks my brain, I need to refresh myself.

  • source
  • hideshow 2 child comments
  • [–] 2 points 4 weeks ago (1 child)
    3
    3 5
    3 5 8
    3 5 8 +
    3 13
    3 13 2
    3 13 2 *
    3 26
    3 26 17
    3 26 17 36
    3 26 17 36 9
    3 26 17 36 9 /
    3 26 17 4
    3 26 17 4 - 
    3 26 13
    3 26 13 +
    3 39
    3 39 +
    42
    

    Or

    3 + (((5 + 8) * 2) + (17 - (36 / 9)))

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 4 weeks ago

    Who needs PEMDAS when you have RPN :)

  • source