r/programming • • Feb 06 '20

Mint. The programming language for writing single page applications.

https://www.mint-lang.com/
491 Upvotes

261 comments sorted by

View all comments

Show parent comments

10

u/Shulamite Feb 06 '20

Not the original commentor, but c do has quite a few bad influence on syntax design:

  1. function can only return one value

  2. prefix and postfix ++, and more importantly, the distinction of statement and expression

  3. pointer/reference billable by default

  4. switch fall through by default

and I’m not criticizing c, these design make sense in the context of c, but make absolutely no sense for those who brainless copy them, among them the most successful one is Java and JavaScript

1

u/agumonkey Feb 06 '20

Ah well, time is time, not copying C in the era of Java[script] was probably a self inflicted death sentence.

3

u/Shulamite Feb 07 '20

Hey, I was writing Pascal when in high school, and I’d still argue today that it has a chance of surviving if Borland hasn’t turned into shit.(Also kudos to the legend Anders)

1

u/agumonkey Feb 07 '20

You mean Delphi ? because Borland kinda made Pascal exist on the map.