News for hackers. Stuff that matters.
Re:Python strings are immutable, but only sometimes by justinnhli on Monday February 15, 2021 @05:28PM (#26148400)
> Sometimes I think of Python as the Nash Equilibrium of programming languages

FYI: What you're describing is not a Nash equilibrium, but a Pareto optimal point [1]. They are similar in that you couldn't do any better, but Nash equilibria is in terms of whether this would cause other players to change their strategies, while Pareto optimality is only about trading off different features/dimensions.

[1]: https://en.wikipedia.org/wiki/Pareto_efficiency

Re:Python strings are immutable, but only sometimes by cs702 on Monday February 15, 2021 @06:13PM (#26148917)
Think of the developers as players competing against each other trying to get their ideas (PEPs) incorporated into the language, seeking individual recognition, credit, etc., and also think of languages competing against each other for developer attention, and then it will make a bit more sense why I called it a "Nash Equilibrium" :-)
Re:Python strings are immutable, but only sometimes by mannykannot on Tuesday February 16, 2021 @07:24AM (#26153225)
Nash equilibria are mainly interesting when they are not Pareto optimal. Both the developers and users of a language, if being rational, should prefer languages to be on the Pareto frontier, but where on that frontier depends on how you weight the trade-offs.
Re:Python strings are immutable, but only sometimes by cs702 on Tuesday February 16, 2021 @09:12AM (#26154000)
I feel my comment is being taken way too seriously... but yes, I agree.