“It compiles. It runs. But why doesn’t the JSP page update?” Fluent setters are tempting—but in legacy stacks, they can cause subtle, hard-to-find bugs.

Sergei Chernov’s guide helps weigh the risk—before prod breaks: https://javapro.io/2025/10/01/fluent-setter-breaking-the-convention/

#CleanCode #FluentAPI #LegacyCode

Fluent setters reduce boilerplate, reveal object hierarchies, & simplify nested DTOs. But can they play nicely with inheritance? And what does the JavaBeans spec actually allow?

A deep dive into real code by Sergei Chernov: https://javapro.io/2025/10/01/fluent-setter-breaking-the-convention/

#CleanCode #FluentAPI #Lombok

Want to use fluent setters in DTOs? #Spring Boot, Jackson & MapStruct support them. But java.beans.Introspector, JSP tags & legacy EE apps may silently fail.

Sergei Chernov maps the compatibility landscape. Read before refactoring: https://javapro.io/2025/10/01/fluent-setter-breaking-the-convention/

#CleanCode #FluentAPI

Is returning this from a setter harmless—or a silent bug? Fluent setters promise clean code, but can break conventions in #Java beans.Introspector, Commons-BeanUtils & more.

Sergei Chernov shows where they break & shine: https://javapro.io/2025/10/01/fluent-setter-breaking-the-convention/

#SpringBoot #CleanCode #FluentAPI

🚨MAJOR RELEASE ALERT 🚨
Today we are launching BESSER v.4, with some massive improvements 👏🥳🎉:
✅ Project management: create new #modeling projects comprising different types of diagrams (#classdiagram, #statemachine, #objectdiagram...) in our #online #modeling #editor
✅Create object diagrams to model specific scenarios conforming to your class diagram
#Evaluate #ocl constraints on your object diagram and get #feedback on whether your scenarios are #valid
✅ Plus many other improvements: #fluentapi, #rdf generation,...
📜https://github.com/BESSER-PEARL/BESSER/releases
⚙️https://github.com/BESSER-PEARL/BESSER

I can feel your #FOMO so don't wait any longer. Give it a try NOW ➡️ https://editor.besser-pearl.org/

Pls also reshare this post and drop a ⭐ on #github so that others can also benefit from our #opensource #lowcode #free #platform
#uml #ocl #classdiagram #database #sql #codegenerator #vibemodeling

New post: Fluent Internals

Part 4 of Crafting Fluent APIs dives into the type design behind RestClient: self-bounded generics, fluent states, and how the API stays clean on the surface.

https://poutsma-principles.com/blog/2025/06/03/fluent-internals/

#Java #Spring #APIDesign #FluentAPI #tech

Fluent Internals · Poutsma Principles

New post: Responding to Real Usage

In Part 3 of Crafting Fluent APIs, I share how a conference demo led to a last-minute fix in WebClient's fluent API. Watch how people use your API, then improve it.

https://poutsma-principles.com/blog/2025/05/28/responding-to-real-world-usage/

#Java #Spring #APIDesign #FluentAPI

Responding to Real Usage · Poutsma Principles

🚨Announcement🚨

A new, version (2.1.0) of FluentContracts is LIVE!

We have brand new contracts available for "FileInfo", "DirectoryInfo", "Dictionary" and more!

Go, check it out!

Pls share 🙏

#dotnet #fluentapi

https://github.com/FluentContracts/FluentContracts

GitHub - FluentContracts/FluentContracts: Fluent argument validation for fluent software development.

Fluent argument validation for fluent software development. - FluentContracts/FluentContracts

GitHub

🚨 Announcement 🚨

A new, major version (2.0.0) of FluentContracts is LIVE!

Some refactoring + some new cool contracts:

- String.BeCreditCardNumber
- String.BeBase64
- DateTime.BeInThePast/Future
- DateTime.BeWeekend

Pls share🙏

#dotnet #FluentAPI

https://github.com/FluentContracts/FluentContracts

GitHub - FluentContracts/FluentContracts: Fluent argument validation for fluent software development.

Fluent argument validation for fluent software development. - FluentContracts/FluentContracts

GitHub

🚨 Announcement 🚨

FluentContracts v1.4.0 has been released!
https://github.com/FluentContracts/FluentContracts/releases/tag/1.4.0

This version includes cool new "string" contracts like:
- BeEmailAddress - kudos to @matkoch
- BeIpAddress
- BeAlphanumeric

... and more!
And I am just getting started. Tons of others are in the making.
#dotnet #fluentapi

Release 1.4.0 · FluentContracts/FluentContracts

Added (Not)BeEmailAddress for validating if a string is an email address. [suggested by @matkoch87] Added (Not)BeMatching to validate an argument against a regex pattern Added (Not)StartWith and (N...

GitHub