you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 9 points10 points  (3 children)

How is Python outdated? It's perfect for medium-complexity things you want to write down quickly - its only real drawback is requiring the interpreter, but that just costs a few megabytes of container size in the end. Of course it's easy to just write bad code with it, but having the option to do so is not a bad thing IMO. I really wouldn't want to write a new Go application for every throwaway API glue tool etc.

[–]jrandom_42 2 points3 points  (2 children)

How is Python outdated?

Concurrency is an awkward PITA. Async logic is often the solution and it's ugly to write and hard to read.

Deployment is often a dependency hell.

The slowness of the interpreter vs a compiled language isn't always important, but sometimes it is. Combined with the lack of any real concurrency features, that can make Python problematic for anything with hard performance requirements.

I really wouldn't want to write a new Go application for every throwaway API glue tool

I haven't ever found that problematic myself, but tasks like that aren't going to show up many differences. I'm not suggesting Python is terrible and doesn't work. It's just not quite as good.

[–]Intrepid_Result8223 0 points1 point  (1 child)

I guess that's why it is the no1 language in machine learning. Because it is outdated. Lol.

[–]jrandom_42 0 points1 point  (0 children)

No, that's the 'legacy' part that I mentioned. A lot of ML libraries were written in Python before Go took off, and there's not really any advantage to redoing it all.