3 ms·
It might feel like a building a castle out of sand, without context, but it's very often like building a castle with from castles import CastleWithMoat c =
by Demiurge 9y ago
It might feel like a building a castle out of sand, without context, but it's very often like building a castle with
from castles import CastleWithMoat
c = CastleWithMoat('eyy')
It's just not meant to replace C++, but I think it beats php, perl, R, and lots of things in readability and package coverage. It lets me do GIS, number crunching, and web serving all in one system. Equivalent functionality in Python is a fraction of lines of complexity implementing from scratch in "strongly typed serious code", for a huge swath of problems.
- hpcjoe 9y agoI am going to disagree with the "it beats php, perl, R, and lots of things in readability and package coverage". PHP maybe, but Perl, R, etc. are quite readable. Often I find digging into others Python code, that it is written with a somewhat peculiar manner, making it difficult to reason about what the code is supposed to be doing. I'd recommend Julia (http://julialang.org http://julialang.org) for anyone looking at new projects where Python is an option. Similar syntax, though saner code structure (e.g. no tabs/spaces issues), compiled, strongly typed. All around an excellent language.
- newen 9y agoJust in time compiled. Not really compiled compiled.