News for hackers. Stuff that matters.
Re:Pippo – Web framework in Java by melted on Monday February 08, 2016 @02:56PM (#11060475)
Much as I dislike inheritance, "annotating a POJO" is even worse. How do you debug it if things go wrong?
Re:Pippo – Web framework in Java by sk5t on Monday February 08, 2016 @03:18PM (#11060608)
Same as any other code--via debug step-through, or logging, centered on the code that processes the annotations. It's actually much saner than heaps of "marker interfaces" and is readily testable.
Re:Pippo – Web framework in Java by agentgt on Monday February 08, 2016 @03:21PM (#11060615)
Annotated methods are also much easier (to debug) than a ton of callbacks and in theory have less GC stress.