• @Ziglin
      link
      513 months ago

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

      • TurboWafflz
        link
        473 months 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")
        ;
        
        • @[email protected]
          link
          fedilink
          English
          33 months ago

          hope you don’t forget the semicolon on a line by itself at the end (except in functions where you want to return the value of the last expression)

        • @Ziglin
          link
          33 months ago

          Nasm programmers probably think that is old code that you commented out.