3 ms·
Could you explain the "quality of life" bit? Are you saying that if you programmed in Java life would be hellish?
by copperx 11y ago
Could you explain the "quality of life" bit? Are you saying that if you programmed in Java life would be hellish?
- Someone1234 11y agoThis article summarises the differences: https://msdn.microsoft.com/en-us/library/ms836794.aspx https://msdn.microsoft.com/en-us/library/ms836794.aspx Although it is a little out of date in some areas (for both languages). C# has been stealing from F# for several versions now, so we get all kinds of nice shorthand for accomplishing sometimes complex operations.
- TheLoneWolfling 11y agoOff the top of my head: * A half-decent type system * No half-baked primitive / object distinction * The `as` operator * Various operators related to null * Ability to distinguish if something is nullable or not, and to have nullable and non-null references * The `checked` keyword * Operator overloading * Properties * Syntactic sugar w.r.t. getters and setters * out & ref parameters * struct support * unsigned values All of these things are major pain points in Java. Some of them can be overcome by running external tools, some of the time. Hopefully.