All Questions
5 questions
0
votes
2
answers
614
views
Why doesn't Java implement a better way of handling getters and setters? [closed]
Getters and setters are everywhere in Java, but they are managed in a horribly outdated way.
Simply put: Why doesn't a newer version of Java enable a simpler syntax for managing it? Even if this ...
39
votes
9
answers
6k
views
Why do C# and Java use reference equality as the default for '=='?
I've been pondering for a while why Java and C# (and I'm sure other languages) default to reference equality for ==.
In the programming I do (which certainly is only a small subset of programming ...
86
votes
11
answers
34k
views
Why is String immutable in Java?
I couldn't understand the reason of it. I always use String class like other developers, but when I modify the value of it, new instance of String created.
What might be the reason of immutability ...
13
votes
2
answers
3k
views
Advantages and disadvantages of structuring all code via classes and compiling to classes (like Java)
Edit: my language allows for multiple inheritance, unlike Java.
I've started designing and developing my own programming language for educational, recreational, and potentially useful purposes.
At ...
20
votes
10
answers
10k
views
What do Java developers think of Scala? [closed]
I've noted that IDE support is nowhere near as good, but the language itself supports functional programming idioms much more cleanly.