Hacker News new | ask | show | jobs
by agumonkey 1269 days ago
yeah python is alright, it's not a masterpiece, but it's well rounded

I ported a golang (non concurrent) program that was 3 files and lots of intermediate procedures over custom types (synchronized maps)

it thing fit beautifully in a one page python script, very readable. bonus: concurrency (threadpool over queues). the only libs were click and rich but not relevant to the design

and the fact that it's repl-able you can quickly navigate in the stdlib.

ps: python docs are not amazing but they have a low signal/noise/confusion ratio. if one wants to suffer go "read" the javadoc, with it's empty package descriptions, extreme redudancy of autogenerated get/set * polymorphic methods. Or to stay in the python world, django docs. They're abysmally non technical.. it's full on guess fest to infer the relationships between classes and dataflow. Superb.