3 ms·
The fact that C# came out with 36% more lines than Java would make me doubt much extrapolation about productivity from these numbers. You can do a token for tok
by barrkel 12y ago
The fact that C# came out with 36% more lines than Java would make me doubt much extrapolation about productivity from these numbers. You can do a token for token substitution of Java and end up with close to compilable C# code; there are only a handful of things Java has that C# doesn't, while C# has many more abstraction tools.
- edgyswingset 12y agoYep. Things like this: https://github.com/kanaka/mal/blob/master/cs/core.cs#L272 https://github.com/kanaka/mal/blob/master/cs/core.cs#L272 Could easily be turned into one line ... not that any sane person would want to, though.
- Veedrac 12y agoThis is just because Java is using `readline` and C# is reimplementing it AFAICT.
- zatkin 12y agoI'm willing to bet that most of the Java code could be made shorter with the use of more functional style code in Java 1.8 (which might be why he labeled it "Java 1.7")
- deleted 12y ago[deleted]