good morning, any pythonistas online?
python is a trash programming language, but, aren’t they all?
ehhh the language is fine but the dependency/environment nightmare is real
ruby 🤝 python
@ashfurrow I wish they didn't try to model it on ruby, nodejs and rust.
@ashfurrow it's better than Perl or PHP, but I really wish Ocaml had gotten more popular.
@ashfurrow nix made python development pretty bearable for me
i still don't like writing it though
@ashfurrow The language is incredibly naïve, the implementation was subpar 20 years ago and now it's just embarrassing (fucking GIL!). But it's easy to write mostly-working pseudocode in, and it's got so many libraries written in C.
@holger @ashfurrow I like refcounting, [I'm an Obj-C nerd for life]. But then you get into the C API and it's a mess, much worse than if they just put Boehm GC in. And the loss of all but 1 core is awful.
Julia's eating Python's lunch on the scientific side, and I try to do everything I can now in Scheme or JS, which is also 1-core but at least the compiler doesn't suck (20-1000x faster).
@ashfurrow you can write trash in any language
@deshipu and I do, I frequently do
@ashfurrow don't we all
@ashfurrow one of my favorite features honestly
@ashfurrow To be fair, that is exactly what I would expect when I multiply a string.
@ashfurrow the language is nice for quick prototyping
@ashfurrow re: dependencies, I just use pipenv and haven't had any problems (although, I never develop on Windows.)
@ashfurrow TBH Perl can do this, too.
@ashfurrow That's just string concatenation being a monoid! If you were willing to accept the overloaded + in the first place…
Now, the real question is whether you allow division. String → Int → Maybe String…
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!