Closed April-Hannah-Lena closed 6 months ago
I actually prefer option 1. Plus some comment above the second function that this is functionally identical to the first one.
There is still some check in the documentation that does not pass ...
Sorry, that was a miscommunication on my part. The next PR has bugfixes, then a docs update. I pushed a smaller change to restrict the version of Documenter.jl.
I have two options for optional progressmeters that are more elegant + optimized compared to the current idea. For reference, here is the current code in the PR:
Current PR version
Now, here is the option where progressmeter and mno progressmeter are written in two separate functions:
Option 1
This is much simpler to read, but is twice as long. Another version is to use some metaprogramming:
Option 2
This is more optimized than the original, and I think the most elegant, though it is maybe not much easier to read than the original PR option.