Re:Please stop saying Java sucks
by copperx on Wednesday June 24, 2015 @01:08PM
(#9772978)
Could you explain the "quality of life" bit? Are you saying that if you programmed in Java life would be hellish?
[ Parent
| on HN ]
Re:Please stop saying Java sucks
by Someone1234 on Wednesday June 24, 2015 @01:31PM
(#9773111)
This article summarises the differences:
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.
Re:Please stop saying Java sucks
by TheLoneWolfling on Wednesday June 24, 2015 @07:47PM
(#9775176)
Off 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.