Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Mouq
· 13y ago · 0 comments
There is
http://strlen.com/files/lang/lobster/C_style%20language%20Ch...
Comments
[–]
moron4hire
13y ago
>> 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};
[–]
_progger_
13y ago
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.
[–]
Aardappel
13y ago
You are both right. My use of C# is deliberately basic to give users of other languages a good chance to follow it too.