Re:Lux: A luxurious package manager for Lua
by mrcjkb on Saturday October 18, 2025 @04:18PM
(#45630084)
Good thing we're not giving options for no reason other than to give options ;)
Re:Lux: A luxurious package manager for Lua
by giancarlostoro on Saturday October 18, 2025 @02:49PM
(#45629549)
> The line from the zen of Python about how "there should be one-- and preferably only one --obvious way to do it" is something that people all too often forget.
The zen of Python should be the zen of all languages.
Re:Lux: A luxurious package manager for Lua
by BugsJustFindMe on Saturday October 18, 2025 @02:52PM
(#45629563)
Yes, it should be. Sadly it's not even unambiguously the zen of Python these days.
Re:Lux: A luxurious package manager for Lua
by fullstop on Saturday October 18, 2025 @05:27PM
(#45630478)
Yes, one way to do it. Sync or async!
Re:Lux: A luxurious package manager for Lua
by giancarlostoro on Saturday October 18, 2025 @08:49PM
(#45631380)
All I'm hearing is that Erlang is the true Zen.
Re:Lux: A luxurious package manager for Lua
by dirtbag__dad on Saturday October 18, 2025 @08:18PM
(#45631280)
Unfortunately in practice you see snowflake implementations left and right in python.
It’s still unclear to me if python is too expressive for its own good, or if it’s so widely used, that it’s impossible to avoid nonsense
Re:Lux: A luxurious package manager for Lua
by giancarlostoro on Saturday October 18, 2025 @08:48PM
(#45631374)
I assume like 70% of Python developers do not even know the Zen of Python, let alone PEP-8. It's likely the size.
Re:Lux: A luxurious package manager for Lua
by monooso on Saturday October 18, 2025 @08:30PM
(#45631311)
The irony of quoting the Zen of Python in a discussion about a package manager. I can think of at least three Python package managers off the top of my head.
Re:Lux: A luxurious package manager for Lua
by SoftTalker on Saturday October 18, 2025 @09:26PM
(#45631510)
Not to mention they had a major release that (from the sidelines) looked like "throw away everything you know and learn a new way to do things."
Re:Lux: A luxurious package manager for Lua
by BugsJustFindMe on Sunday October 19, 2025 @08:00AM
(#45633592)
The zen itself is correct even when Python doesn't follow it.
Re:Lux: A luxurious package manager for Lua
by eviks on Sunday October 19, 2025 @01:47AM
(#45632267)
> If one way works properly and doesn't have obvious downsides, stick with having one way. If it has obvious downsides, stick with having a different one way.
What if you're in the real world with tradeoffs? So you have both obvious downsides and obvious upsides mixed in each option, and what's more important, those depend on the user, not you, so you can't pick one best option?
That's the reason you give options, and you don't need to learn different ways, learn one you like better or just flip a coin
I completely dislike the practice of giving options for no reason other than to give options. Don't make me learn different ways of doing the same thing to succeed in an ecosystem. Don't make me learn differences and similarities. If one way works properly and doesn't have obvious downsides, stick with having one way. If it has obvious downsides, stick with having a different one way. Subjective format taste isn't a real downside. Pick one format and stick with it.
The line from the zen of Python about how "there should be one-- and preferably only one --obvious way to do it" is something that people all too often forget the value of.