Questions tagged [practical-application]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
21
votes
5answers
8k 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 ...
1
vote
2answers
458 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 ...
0
votes
0answers
238 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)? ...