highsource / highsource/jaxb-tools
[Discuss] Functional v Fluent
- Dominant language
- Java
- Stars
- 465
- Forks
- 105
- PR merge metrics
- No merged PRs in 30d
Description
**_Please click the thumbs-up emoji if you use the fluent-api plugin as a way of performing a census._**
Functional programming is raising in popularity w/ Java and unfortunately, it uses the 'with' prefix on methods vs 'set'. Also, feels like Functional programming is out-pacing Fluent and we support Functional long term.
Functional differs as the copy() method would be called on each withX() invocation to ensure a fresh instance is used and maintain immutability-like behavior.
The problem is that both styles use the 'withX(X x)' prefix, but behavior is very different.
1. Do we provide the ability to set the method prefix for fluent-api to something else going forward?
2. If we add a Functional plugin, do we detect if fluent is also used and error out b/c both can't be used together?
Contributor guide
Assessment
This issue has not been assessed yet.