this post was submitted on 09 Oct 2024
344 points (98.3% liked)

Technology

58599 readers
5325 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

The board needs to oust the CEO.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] -5 points 1 day ago* (last edited 1 day ago) (2 children)

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).

[–] [email protected] 6 points 1 day ago (1 children)

No, it's worse. PHP never had shit like virtual environments and a million different incompatible package managers.

[–] [email protected] 8 points 1 day ago (1 children)

Virtual environments are a great thing.

[–] [email protected] 11 points 1 day ago

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 and pdm 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.

[–] fruitycoder 1 points 1 day ago (1 children)

Mojo is what is keeping me vindicated that python was a good choice. That and it's worked for every project I've ever used it for lol

But that's small potatoes in the technologist game

[–] [email protected] 3 points 21 hours ago

The best tool is the best tool for the job. My php code was immaculate - import header, write your content, import footer. I wrote it all in a few hours, and I think my university is still using it today. One of my proudest moments was when a team member whose abilities I respected gushed over how easy my code was to work with

I haven't used it since.

I'm led to believe modern PHP has become pretty good. It's also never been the right tool for the job since then

Mojo sounds incredible - python is a beautifully consistent language, and I've written a shit load of it. I like it a lot. It's often not the right tool for the job, but mojo promises to turn it into something extraordinary that shores up its weaknesses... It's just promises so far though, I really hope they pan out

But always ask yourself - what's the right tool for the job?