r/learnprogramming • u/Whole-Sheepherder538 • 1d ago
[ Removed by moderator ]
[removed] — view removed post
6
Upvotes
r/learnprogramming • u/Whole-Sheepherder538 • 1d ago
[removed] — view removed post
View all comments
0
u/edwbuck 1d ago
You are a fanboy, not in the negative sense, but in the sense that you are primarily promoting a single thing.
Everything you said about Python is generally true for nearly every popular programming language, and there at flaws in all programming languages, for example Python's "slice" handling of array elements is only "simple syntax" in typing the characters, but is not "simple syntax" in getting the slices to work how you want them, and they avoid a clean syntax detailing if you are reusing ram or using new ram.
Basic algorithms are basic because they exist in every language.
Personally, the highest performance web sites are not written in Python. It's generally Java, with Rust doing some of the simpler sites. Multi-threading and sophisticated memory page handling matters at the top end, and Python has a history of being first to the simple solutions, and late to the truly high performance ones. And example? It's great at data science until you have too much data to store on a computer. Then you need Apache Spark, which has Python bindings, but is actually implemented in Scala (a Java derivative) and runs much faster when called by Java or Scala.
Don't get me wrong, there's plenty going for Python, but it's not the best fit for every scenario.