4 ms·
Wow. This project has probably the worst example of the telescoping constructor antipattern I've ever seen: https://snakemake.readthedocs.io/en/stable/api_refe
by crdoconnor 9y ago
Wow. This project has probably the worst example of the telescoping constructor antipattern I've ever seen:
https://snakemake.readthedocs.io/en/stable/api_reference/snakemake.html https://snakemake.readthedocs.io/en/stable/api_reference/sna...
- todd8 9y agoIt's Python, not Java, so it can't have the telescoping constructor anti-pattern. Admittedly, there are a huge number of arguments to the snakefile constructor, but they are optional named arguments making the constructor safer and easier to use than Java's telescoping constructor and it alternatives (Java Bean pattern or builder patterns). This application apparently has many options or settings.