DeprecatedCompatV2

u/DeprecatedCompatV2@programming.dev
0 posts · 132 comments

Recent posts

No posts.

Recent comments

on You Disgust Me · c/comicstrips · 7 pts · 129d

Ackchyually it's not a democracy, it's a constitutional republic, and those are words I read off a screen. They mean that my political team is better than yours and that owning land should give my political team more voting rights than yours.

Noooo, you have to override 50% of the class methods to hard couple your filter's implementation to an event-bus-style bean with Spring in the package name to avoid NIH! What if someone needs to extend your Authentication Provider in the future but can only use a limited quota of keystrokes to implement their ticket as an inobvious side-effect? How else will they add the aud from your JWT to the MDC? Some kind of pointcut??

I don't know the Go answer, but this problem exists in other languages and platforms. It can be incredibly annoying when the http client library doesn't support unwrapping, even with generics.

If you need the subfield to have a name based on the type, you're going to need introspection / code generation.