Why Python keeps growing, explained
github.blog
Why Python keeps growing, explained
1–10 of 459 posts
Re: Why Python keeps growing, explained
#2Re: Why Python keeps growing, explained
#3You're not forced to dip into the OO side of things though and I've heard people suggest to me that Python is a language where no rules apply and no structure exists. They feel that they can dive in without the care they would have to take in Java or C++. I think they are very wrong but you can certainly write terrible code if you want and perhaps this "all-things-to-all-people" aspect of it is part of the success.
Re: Why Python keeps growing, explained
#4I used Python for the last 10 years or so for all sorts of cross-platform command line scripting stuff, but watching Python3's progress I have the impression that this simple use case is no longer their main focus (I sometimes wonder if there's any focus or vision at all tbh). After having tinkered with Deno for the last 2 weeks or so I must say that this is indeed the 'better Python' (for me at least, and not becaus…
Having JavaScript in the front end and backed both can reduce resource requirements as well.
Re: Why Python keeps growing, explained
#5I used Python for the last 10 years or so for all sorts of cross-platform command line scripting stuff, but watching Python3's progress I have the impression that this simple use case is no longer their main focus (I sometimes wonder if there's any focus or vision at all tbh). After having tinkered with Deno for the last 2 weeks or so I must say that this is indeed the 'better Python' (for me at least, and not becaus…
Python has been my favorite for products and scripting. I've been advocating for Python's dominance when the world was after Java. But now I'm more inclined towards JavaScript. And agree with you Deno is taking the right approach (as opposed to nodejs). Having JavaScript in the front end and backed both can reduce resource requirements as well.
Re: Why Python keeps growing, explained
#6And it’s not very portable the second dependencies with native code (which is common since pure Python is too inefficient for many tasks) are used.
I think Python is popular for two reasons:
- it’s believed to be beginner friendly compared to other languages. I’m not really sure why - maybe the whitespace?
- it has an enormous set of libraries available to use
In other words, Python has momentum. The language itself isn’t great, but that is a secondary concern to most, if they are even aware of this at all!
Re: Why Python keeps growing, explained
#7That's not a sales pitch for python, it's a sales pitch for the concept of a scripting language; it's like saying "you should really buy a Ford, it comes with four wheels".
Re: Why Python keeps growing, explained
#8 import sys
def main(
args: list[str],
) -> int:
sys.stdout.write(“hi\n”)
return 0
sys.exit(main())
Apart from the call to write instead of print everything else there is a standard Python pattern for writing testable, type-safe arg-parsing code!It’s just that you don’t have to write testable, type-safe code if you don’t want to.
Re: Why Python keeps growing, explained
#9Comparing Python to Java 8 and saying it’s more readable isn’t showing much. And it’s not very portable the second dependencies with native code (which is common since pure Python is too inefficient for many tasks) are used. I think Python is popular for two reasons: - it’s believed to be beginner friendly compared to other languages. I’m not really sure why - maybe the whitespace? - it has an enormous set of librari…
I am leaning more towards it looking like pseudocode
> - it has an enormous set of libraries available to use
I believe that to be the actual reason. I've long held that python is a kinda bad language, but with FANTASTIC libraries