I admit, we've been lured into using this technique as well. It's just so convenient, as it allows for avoiding a seemingly unnecessary cast. It's the following technique here: interface SomeWrapper { <T> T get(); } Now you can type safely assign anything from the wrapper to any type: SomeWrapper wrapper = ... // Obviously … Continue reading This Common API Technique is Actually an Anti-Pattern
Tag: Antipattern
High Complexity and Low Throughput. Reasons for Using an ORM.
I've recently stumbled upon an interesting blog post about when to use an ORM. I found it to be well-written and quite objective, specifically with respect to its model complexity and throughput diagram: The ORM or not ORM topic will probably never stop showing up on blogs. Some of them are more black and white, … Continue reading High Complexity and Low Throughput. Reasons for Using an ORM.