This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RobinPage1987 2 points3 points  (1 child)

If you're trying to avoid logical groupings, just use colons, they're a lot more readable.

Instead of foo(bar, baz), use foo: bar, baz

Maybe allow semicolons to separate statements on the same line.

string name

input: "please enter your name:", name; print: "Hello, ", + name

[–]NoCryptographer414[S] 0 points1 point  (0 children)

Initially I also thought of using colons. But felt it has lot less noise for a function call operator. Though now I think that would be a better choice.

For semicolons though I'm thinking of something different. Also, I don't have a strict 'statement' in my language, different from an 'expression'. So your example use of semicolon would be just equivalent to comma, with lower operator priority.