Closed mgramin closed 6 years ago
@mgramin what makes you think that sql-boot is designed in the spirit of EO? I tried to go through the source code and it's a pretty standard Java app, with getters, setters, annotations, mutability, etc.
@yegor256 thanks for your questions.
I use getters/setters only to interact with third-party libraries (e.g. swagger and spring-boot magic) (In the future i plan to get rid of the spring boot).
All application are based on simple interfaces with simple implementations and many many decorators.
For example:
Interface - com.github.mgramin.sqlboot.model.resource_type.ResourceType
Its implementations:
Its decorators:
All these classes are pure immutability.
A more detailed analysis of my project was made in the @amihaiemil review for the Software Quality Award 2017 - https://gist.github.com/amihaiemil/239169ef959fc064307e06aef6d30fd4 (especially in paragraph 6)
@mgramin thanks!
The job is not in WBS, won't close the order
@yegor256/z please, pay attention to this pull request