4 ms·
What would you use instead of Python? It should be roughly comparable in terms of having a wide array of well-used libraries, and of course a good REPL. I've
by jzwinck 13y ago
What would you use instead of Python? It should be roughly comparable in terms of having a wide array of well-used libraries, and of course a good REPL.
I've been using Python for a couple years and it's mostly joyful. It is unfortunate that not even the various containers within "collections" use a uniform naming convention, I'll give you that. And some of the scoping stuff is weird (nonlocal which nobody really uses? and seemingly-but-not constant default function arguments). But Twisted is a pretty good evented programming system, and NumPy plus multiprocessing let you process a lot of data efficiently, GIL or no. I cannot agree that "the core libraries won't take you too far"--they've taken me farther than the comparable bits in any other language.
- lmm 13y agoI used to be a huge python fan but after a couple of years of scala I don't want to go back. The syntax can be almost as lightweight, the typing is just a huge help as your project gets bigger, and the whole language just feels a little more consistent, with fewer weird corner cases like the default arguments thing you mention.
- Ziomislaw 13y agoSupposedly many python programmers are switching to Go (devs were suprised too).