Open jansupol opened 8 months ago
The current Loader API looks
Loader.bootstrap().load()
However, we probably want to add other enrichments to the API, such as converters or sources. Then we would have something like
Loader.bootstrap().converter(...).source(...).load()
Which would make Loader mutable. Then we have two possibilities:
Loader.bootstrap().build().load()
Loader.builder().build().load()
In summary, should we use bootstrap() method, or builder() method?
bootstrap()
builder()
The current Loader API looks
However, we probably want to add other enrichments to the API, such as converters or sources. Then we would have something like
Which would make Loader mutable. Then we have two possibilities:
Loader.bootstrap().build().load()
which would more nicely turn intoLoader.builder().build().load()
In summary, should we use
bootstrap()
method, orbuilder()
method?