5 ms·
Depends on the language. I find that in C++, I spend a lot of time working on figuring out the language, while in python I spend far more time solving the actu
by liquidify 7y ago
Depends on the language. I find that in C++, I spend a lot of time working on figuring out the language, while in python I spend far more time solving the actual problem.
- lainga 7y agoHoh! I spend most of my time figuring out pipenv (not my design choice!) .
- guggle 7y agoDon't use pipenv, you don't need it. Seriously. Edit: you don't need poetry either.
- lainga 7y agoYes I do, sadly, I need it for my job. I don't like it, and I want it replaced, but until then I have to commit to the decision my team has made.
- guggle 7y agoWell, I can only sympathize then... Personaly I just stick with manual venv and pip. It's not hard to use, it works, it's standard. But of course I'm lucky enough to be the one making the decisions.
- CameronNemo 7y agoIs there a better way to get a lock/freeze file that includes checksums?
- guggle 7y agoI don't know, I don't need that. I'm pretty sure I'm not the only one. I understand why you'd need it though.
- reedwolf 7y agoPython packaging is now a solved problem. Use Poetry. Resolves all your dependencies and manages your virtual environments. Also lets you build and publish your own projects with a few commands. https://python-poetry.org/ https://python-poetry.org/
- ngngngng 7y agoI'm excited to give this a shot, but I've heard this promise many times before.
- franey 7y agoI second this. Poetry is a great all-in-one tool for dependency and package management. I've written a few blog posts about it, and I remain happy with it. The Poetry team has done a great job making quality of life improvements to the tool, and it's actively maintained. It's worth checking out.
- l0b0 7y agoI vaguely remember the exact same sentiment being expressed for both pip and Pipenv. The project I'm working on is currently migrating from Pipenv to Poetry, and while it's an improvement I have no hope that the fifth generation (setuptools, EasyInstall, pip, Pipenv, and now Poetry) Python packaging tool is in any way the last one.
- liquidify 7y agoWait, whats wrong with pip and venv with a requirements.txt file?
- Scarbutt 7y agoYeah same in Clojure, you spend most of your time messing with/writing interop and trying to get it correct.
- cortesoft 7y agoIs this just due to your expertise in the language, though?
- Reelin 7y agoIn Python, I fight with dependencies and the GIL (try getting Matplotlib to update an interactive graph in real-time, it's not fun). In Lisp, I lose time manually writing FFI wrappers. It really makes you appreciate the size of Python's ecosystem. In C++, I spend inordinate amounts of time buried in the language standard. It's just _so large_. In C, I have "fun" with manual memory management, name collisions, and boilerplate. I think Lisp is my preferred choice for the time being.
- Yajirobe 7y agoHow do you update an interactive graph in Lisp?
- Reelin 7y agoVia the FFI declarations you manually wrote to your favorite graphing library that exports a C API? All major Common Lisp implementations have threading built in, and unlike Python performance is excellent without dropping to C. As an example, I recently wrote a GLFW backed program with the GPU boilerplate in C++ and all the high level logic in Lisp. I could have done the entire thing in Lisp, but there was less API surface area to wrap this way.