3 ms·
This library posted here is only ~150 loc without docstrings, and it’s more complicated than my typical equivalent decorator factory with basically the same fea
by oefrha 7y ago
This library posted here is only ~150 loc without docstrings, and it’s more complicated than my typical equivalent decorator factory with basically the same features, sans logging.
I just don’t find this tricky. If only every problem I need to solve is as simple as this one.
> Is this more symptom of Python deps being "riskier" than Haskell deps due to types or versioning or something?
No, it’s a distaste for tons of small third-party packages that could easily be done in place. If anything I found Haskell deps more prone to breakage with upgrades compared to Python deps (given my limited experience with Haskell), at least with the set of popular packages I tend to use. Part of that is Python packages tend to not depend on a ton of other packages.
- whateveracct 7y agoBy "breakage with upgrades" do you mean bugs introduced due to compiler/library bumps or just PVP constraint violations?
- oefrha 7y agoThe latter — not necessarily PVP constraint violations though, but rather dependency hell situations. One example that pops to mind: packaging git-annex for Homebrew was always “great fun” until we settled on resolving with LTS Haskell (IIRC).