On 17 Oct 2026 09:43:01 GMT, Stéphane CARPENTIER wrote:
> From what I saw, for a beginner's approach, python is easier than Java
> or C++. Now when one starts to use python in the real life, the
> complexity of python appears. Because that's the python way: things
> works except when they stop to work.
I haven’t encountered that. I have written some reasonably substantial
Python code -- would this one <https://gitlab.com/ldo/qahirah> count?
That’s over 8500 lines. And this <https://gitlab.com/ldo/dbussy>
consists of 2 modules totalling over 10,000 lines.
> Like, it's not a typed language but start playing with dictionaries
> without declaring your variables first to see how the claims stand
> before the facts.
It is true you can make typos with misspelling variable names, because
assignment to a name the compiler hasn’t seen before causes the implicit
creation of a new variable.
One thing that helps limit the damage from this is the scoping rules.
For example, you can reference a global variable from an inner scope
without having to declare it global; but you can’t assign to it from
that scope unless you explicitly declare it “global”.
> And I'm not speaking about the dependencies. Each version breaks
> everything ...
Backward compatibility tends to be pretty good. Yes, some ancient
library modules do get deprecated -- still want to use the CGI
toolbox, or access Sun audio files??
> ... so well that now some distros don't let you install
> libraries with pip if you are not in a virtual environment.
Do other languages get away with allowing you to override standard
system libraries without breaking things?
Maybe the issue is, Python has achieved a degree of popularity way
beyond anything those earlier languages could have managed, to the
point where critical system components have now become dependent on
it.
> So, yes to do something simple, python is fast and easy. But if you
> want to power of C++ and Java, you can't use python on a simple way.
Python can do things as complex as anything you might want to do in
C++ or Java, with much less code. For a real-world example, look at
how you would set up a TLS/SSL encrypted connection in Java, versus
doing it in Python.