Hacker News new | ask | show | jobs
by Stranger2013 4755 days ago
Is it a thought experiment or something that author suggests people use for real-world commercial projects? It would be nice to see some sort of feature comparison table (vs Lua, vs JS etc.).
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.