5
            
            votes
        
        
            
            
        Convenience inheritance
                    IMHO implementation inheritance is not an anti-pattern in general.
There are too many examples where this works well enough to ban this kind of inheritance dogmatically. You presented a few examples ...
                
            
       
        
            
                2
            
            votes
        
        
        Approach for querying an arbitrary set of user submitted fields and values in Spring application? Like a shopping site sidebar search?
                    If your filters are simple (like equality per field) then check out query by example in Spring Data JPA.
If you need complex filters (like comparisons between fields, checking for existence, range ...
                
            
       
        
            
                1
            
            vote
        
            
                
                Accepted
            
        
            
            
        What SOLID principles does the Java List interface challenge?
                    It does not violate the Liskov Substitution Principle. The LSP states that a subtype should not violate guarantees given by a supertype. But the List interface explicitly states that the methods add(),...
                
            
       
        Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
java × 5019design-patterns × 509
design × 499
object-oriented × 488
object-oriented-design × 250
architecture × 207
c# × 175
spring × 162
interfaces × 155
c++ × 153
exceptions × 149
programming-practices × 135
android × 124
multithreading × 122
unit-testing × 117
rest × 113
algorithms × 108
coding-style × 106
inheritance × 99
performance × 91
java-ee × 91
api-design × 86
testing × 83
programming-languages × 82
database × 81
