Adam Gent

Results 419 comments of Adam Gent

> @agentgt Records are used mostly as data carriers/models for DB tables, REST APIs, etc. Would people really need a standard library of default values? If I have a PersonRecord...

I agree. I'm just brainstorming some possible alternatives. The solution in place is far more KISS. I do think there is value in mixin but it really is a different...

I'm not sure if this will help for API modeling but I did implement this for my templating language that uses the annotation processor: https://jstach.io/doc/jstachio/current/apidocs/io.jstach.jstache/io/jstach/jstache/JStacheInterfaces.html Basically it allows you to...

Well FWIW my templating language has the idea that the "template is the contract". https://github.com/jstachio/jstachio For example a template is always tied to a model object that you annotate with...

> I think this comes down to a matter of taste. It's good to have so many templating choices, so that there's a good fit for everyone. I agree particularly...

@Mooninaut is right that a good portion of the `checkNotNull` in the world are hard coded in some systems and for good reason. For example in Eclipse: ```java @Nullable Object...

I can't decide if this is tangental or relevant as I'm less familiar with this area but many of the `checkNotNull` / `requireNonNull` vary on annotations so I guess I...

Have you guys used Eclipse null analysis lately? ![eclipse-nonnull](https://github.com/jspecify/jspecify/assets/567706/e0aba81f-69ba-43a1-b8d2-90e3ab73a979) So I agree with @sviperll [points on user pain (reddit)](https://www.reddit.com/r/java/comments/13wxcti/design_document_on_nullability_and_value_types/jml4m5s/) but clearly Eclipse has no problem shoving `@NonNull/@Nullable` everywhere (actually it...

Luckily they (JDT) now has their issues on github: https://github.com/eclipse-jdt/eclipse.jdt.core/issues The last time I used bugzilla besides Eclipse was when CVS was still an OK option. It was one of...

Handlebars allows that. If you want that look into Handlebars.java.