you are viewing a single comment's thread
view the rest of the comments
[–] 12 points 8 months ago (1 child)

The majority of its syntax is very similar to many other languages. Can you give an example of a language with pretty syntax?

  • source
  • parent
  • hideshow 2 child comments
  • [–] -3 points 8 months ago (1 child)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 8 points 8 months 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

  • source
  • parent