• Ziglin@lemmy.world
    cake
    link
    fedilink
    arrow-up
    49
    ·
    7 days ago

    Also each line starts with a semicolon and you have to escape spaces in strings using a double forward slash

    • TurboWafflz@lemmy.world
      link
      fedilink
      arrow-up
      45
      ·
      7 days ago

      I realized a while ago that there’s nothing stopping me from writing rust like this

      ;println!("This is great")
      ;println!("I think everyone should write rust like this")
      ;println!("Probably works in most languages that use semicolons")
      ;