• Lucy :3@feddit.org
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    12 hours ago

    Key point being, similar to some random languages. JS and Python Syntax don’t fit a typed and compiled language at all.

    Pretty syntax would probably be something like C, where not every single character already widely reserved for specific keywords (like !, ', =) is reused in completely random ways.

    • Kacarott@aussie.zone
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      10 hours ago

      Ah yes I also found macro syntax like vec![ and println!( to be a bit jarring at first. However I don’t know if I would say that C’s approach to macros is any nicer, with it’s #define magic