3 ms·
I personally dislike this style of "fluent api". It is not more "for humans" just because it reads as English sentences. In fact, it can be quite difficult to
by mckoss 11y ago
I personally dislike this style of "fluent api". It is not more "for humans" just because it reads as English sentences.
In fact, it can be quite difficult to reason about. What, for example is "schedule. every(10)"? By itself, it does not seem to represent a useful concept other than a "partial" schedule statement.
I would prefer to use an api using keyword arguments to set the various (optional) parameters to build a schedule.
- Drdrdrq 11y agoExactly! One example of this is fudge... Annoying to use, especially when docs are less than perfect.