this post was submitted on 17 Jul 2026
-43 points (26.4% liked)
Programming
27781 readers
173 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Assuming this is a genuine question and not just trolling.
Python's main feature, IMO, is that it's easy to pick up. You don't need to remember to put a semicolon after nearly every line, so you don't need to remember which lines don't need it. Basically you only need to remember to put a colon before an indented block.
Thanks to significant whitespace even bad code will be moderately legible.
Control flow and loops are basically written in plain English:
for i in range(17):as opposed to e.g.for (int i=0; i<17; i++) {.This all reduces the mental load and thus leaves you with more capacity to focus on the task you're trying to solve.
It's a great language to give to your mathematicians, data scientists and other people with rudimentary programming knowledge at best.
As for the performance: interpreted languages are inherently slower than compiled ones. You don't get a speed boost from first asking a separate program to translate the next line of code into a machine readable format before executing it. Just like you don't get a speed boost from executing all your cod in a virtual machine. Looking at you, Java.
But you don't use python for the compute-heavy tasks. You use it for the plumbing in between and outsource the computation to a native library with python bindings, like NumPy, Pandas, PyTorch, etc. Horses for courses.