this post was submitted on 09 Oct 2024
344 points (98.0% liked)
Technology
59174 readers
3462 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Don't judge PHP by what you saw in WordPress. Modern PHP is amazing, WordPress had horrible code when it started and they definitely didn't fix things afterwards. It's a horrible slow mess of a code. Look at some modern PHP (for example this api of mine ) to compare.
Thanks for sharing a modern php codebase. It makes me confident that giving it up and switching to Python was the right choice.
Imagine going to the slowest and ugliest interpreted language there is and feeling superior about it.
Like, modern Python is basically what PHP was at its lowest point, PHP 4 (20 years ago).
No, it's worse. PHP never had shit like virtual environments and a million different incompatible package managers.
Virtual environments are a great thing.
I'd argue that the concept of isolated environments is great. Python's implementation... leaves something to be desired.
It's still a bit hacky, even in Python 3. Tools like
uv
andpdm
exist in the gaps to smooth it out.That said, it's something that the core community is actively working on and it's not something users will face day to day.
I say this as someone who moved from PHP 3 to Python 2 to Ruby to PHP 6+ to Python 3 as their goto language over the years.
Hahahahaha. Are you seriously defending crap like __autoload and package management built on top of that hack?