Need advice on framework design: how to make extending easy
I’m creating a framework/library for a rather specific use-case (data type). It uses diverse spring components, including spring-data. The library has a set of entity classes properly set up and according service and dao layers. The main work or main benefit of the framework lies in the dao and service layer.
Do functional generics exist and what is the correct name for them if they do?
Consider the following generic class:
Why do generics in Scala have erased types, and are not reifiable?
Why do generics in Scala have erased types, and are not reifiable?
Scala as a language for Generic Programming
In the paper “An Extended Comparative Study of Language Support for Generic Programming” by Garcia et al. an interesting comparison of programming languages features for generic programming is given:
Why can’t java generics be in arrays?
Why is it that when I try to make an array of ArrayLists: ArrayList<Integer>[] arr=new ArrayList<Integer>[40];
there is an error and java does not allow this?
Why is it so difficult to know where to use interfaces,generics in program design?
I am attempting to learn c# from the head first series, in addition i also consult other books such as Pro C# by Andrew Tolson.
Java Generics – how to strike a balance between expressiveness and simplicity
I’m developing some code that utilizes generics, and one of my guiding principles was to make it usable for future scenarios, and not just today’s. However, several coworkers have expressed that I may have traded off readability for the sake of extensibility. I wanted to gather some feedback about possible ways to resolve this.
What problems can be solved using Generics?
I haven’t used Generics in C# for a long while. Every time I think I need to use them I either go in the wrong direction and give up or find that I don’t really need them. I feel that I’m missing out or ignoring a technique which could be useful and powerful.
Similar references to themselves in two classes
How can I make 1 class (base, generic or something else) from these two classes?
How do I create a mutually-incompatible type library in Java?
Folks, this seems like it should be straightforward, but I’m drawing a blank here.