Python handles globals badly.
ben+python at benfinney.id.au
Wed Sep 9 07:53:09 CEST 2015
Mario Figueiredo <marfig at gmx.com> writes:
> On 09-09-2015 02:26, Ben Finney wrote:
> > Mario Figueiredo <marfig at gmx.com> writes:
> >> You know, it is a pointless exercise to try and downplay
> >> programming languages (any programming language) that has proven
> >> its worth by being generally adopted by the programming community.
> >> Adoption is the sign of a respected and well designed language.
> > I can think of numerous widely-adpoted languages that disprove that
> > assertion, by nevertheless being poorly-designed languages that are
> > loathed by the vast majority of programmers who use them.
> I'll have to agree to an extent. And you did remind me of PHP. So
> there's that.
> But in a way PHP served an important purpose in its time.
> In any case, it stands that, unless a programming language is so
> ruined by bad design choices it is unusable, there is some kind of
> merit to its ability to solve computational problems.
That's a *very much* lower bar than your earlier claim I responded to:
that “[widespread] adoption is the sign of a respected and well designed
> I can't stand Java. I just don't think calling it a mistake. It's
> worth has been proven by its level of adoption and by the usable
> criticized by so many and yet there's no denying of its importance.
You're making the case for importance, and capability to implement
programs that solve problems.
Maybe it's true, but it's irrelevant to the earlier point. It is quite
separate from the language being well designed, and it is quite separate
from the language being respectable. Many languages — some of which
you've named — are poorly-designed, are not deserving of respect,
despite being widely-adopted.
> Even today we struggle to find a better alternative to client-side
> scripting. Python is criticized by so many. And yet I don't think
> calling on Python developers as an inferior breed of programmers.
Glad to know that :-)
\ “I have the simplest tastes. I am always satisfied with the |
`\ best.” —Oscar Wilde |
More information about the Python-list