3 ms·
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.
by dserodio 12y ago
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.
- brusch64 12y agoIt 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)