• 0 Posts
  • 7 Comments
Joined 1 year ago
cake
Cake day: June 21st, 2023

help-circle



  • letsgo@lemm.eetoProgrammer Humor@lemmy.mlgot him
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    That’s not a real operator. You’ve put a space in “i–” and removed the space in “-- >”. The statement is “while i-- is greater than zero”. Inventing an unnecessary “goes to” operator just confuses beginners and adds something else to think about while debugging.

    And yes I have seen beginners try to use <-- and --<. Just stop it.


  • You’d often get the error when there was paper in the printer though. Turns out the cause is the slightly different size between US letter page size and A4 page size. Technically the printer’s correct to complain (for the same reason it’d be correct to complain about an A4 sized print while full of A5), but virtually nobody gives a shit about that difference and so the “PC Load Letter” message just translated to “You have to push that stupid button before I’ll do anything because pedantry.”