Hacker News new | ask | show | jobs
by Mouq 4744 days ago
There is http://strlen.com/files/lang/lobster/C_style%20language%20Ch...
1 comments

>> Lobster: v := [ 1, 0, 0 ]:xyz >> C#: var v = new xyz(1, 0, 0); you'd actually have to define the constructor in C# to be able to do this

well, not exactly. You could do: >> var v = new xyz{x:1, y:0, z:0};

Also in C#: | var a = 1; | vs | dynamic a = 1; | I think there should be a version number next to language name to avoid false impression.
You are both right. My use of C# is deliberately basic to give users of other languages a good chance to follow it too.