• Lucy :3@feddit.org
    link
    fedilink
    arrow-up
    2
    arrow-down
    5
    ·
    1 day 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
      8
      ·
      edit-2
      1 day 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