Re:Bill Gates answers questions about Java during a depositi...
by dserodio on Monday October 27, 2014 @02:51PM
(#8517351)
Except for pass-by-value and pass-by-reference. Java's model of always passing a reference value makes the mental model around references so much simpler.
Re:Bill Gates answers questions about Java during a depositi...
by brusch64 on Friday October 31, 2014 @06:12AM
(#8538046)
It makes the model simpler, but I found this pretty cumbersome. I wanted to write a method returning two values (Boolean), so I had to return an array of Booleans. Out parameter seem easier for me (and more concise)
Re:Bill Gates answers questions about Java during a depositi...
by jghn on Monday October 27, 2014 @04:55PM
(#8518127)
I thought scala was java done right ;)
Re:Bill Gates answers questions about Java during a depositi...
by V-2 on Monday October 27, 2014 @05:13PM
(#8518217)
Well - both, kind of :)
Take a look at this presentation: http://www.slideshare.net/omervk/scala-for-c-developers
It draws some parallels between C# and Scala.
C# feels like Java done right. Many of Java's shortcomings can be masked with a great IDE (making setters and getters) nobrainers - but I prefer C#.