The practical-application tag has no wiki summary.
1
vote
0answers
50 views
Java MVC: multiple use of the same event for different actions
I am working on a large Java project which employs the model-view-controller pattern. Should I use a different event for each action (to let the views communicate with their respective controllers)? ...
13
votes
10answers
2k views
What is a good toy example to teach version control? [closed]
I'm looking for practical examples to use when teaching version control.
Breaking down the material to basic concepts and providing examples is an obvious way to teach version control, but this can ...
0
votes
1answer
231 views
When should a class be final? [duplicate]
I've only really seen this on Java's wrapper classes (String, Integer, etc.), but never in open-source projects, and I was never taught about it in any books or classes. I know it means the class ...
1
vote
2answers
232 views
Practical use of generic inheritance and interactions with non-generics?
I've been trying to learn more about generics, and I finally felt that I ran into a situation that it would be more useful to use it instead of only regular classes. Would the following be a practical ...
12
votes
4answers
3k views
What are some practical uses of the “new” modifier in C# with respect to hiding?
A co-worker and I were looking at the behavior of the new keyword in C# as it applies to the concept of hiding. From the documentation:
Use the new modifier to explicitly hide a member inherited ...