Hacker News new | ask | show | jobs
by indrex 715 days ago
When I first started coding, I wished there was an “app” for it where I just start writing code. Now there is.
1 comments

I was taught coding on Matlab. It had everything built in, and no package management to worry about. As green freshmen, we were making games in week 2 of the course, and running science simulations soon after.
Similarly, I used Mathematica. I really enjoyed having things just work. I now use mostly Python and spend a bunch of time with dependency issues.
I generally tend to think that complaints about dependency management in Python are way overblown -- it's usually not a problem for me. But lately I've been trying out some off-PyPI projects to investigate time series foundation models, and it would have made my life so much easier if the implementers of these libraries hadn't decided to pin to extremely specific versions of ten or twenty different dependencies. No, your library does not need exactly NumPy 1.22.3. You're just throwing unnecessary obstacles in the way of people using it.

That pinning wouldn't really be a problem ordinarily, where I control the environment, but I'm running this particular code in a managed environment that I can't easily modify.