Hacker News new | ask | show | jobs
by elurg 988 days ago
Pascal uses this syntax.

Also "pointer to integer" is written as "^integer" which is better than "int".

Syntax also doesn't allow confusing stuff like like "int a, b;".

1 comments

> "^integer" which is better than "int"

I agree that it reads a little better. But as a small-handed person, it is unfortunately much more uncomfortable to type.

Honestly that fully depends on your locale and keyboard layout. So it really shouldn't influence programming language syntax design.
My computer has buttons, and characters printed on it. So I can't really change the distance between characters.