foo
link
fedilink
181Y

Heh, I was about to comment how my hot take is that Python is overrated. It’s… fine and I don’t really have anything against it for the most part, but I greatly prefer Ruby to Python.

I’m speaking purely about the language itself here, not any libraries available for it (since someone will always point out how great Python is for data work).

Long term Ruby developer here; I did a coding bootcamp that focused on Django and hated it. The language feels like a step down. Crystal on the other hand…

@fubo@lemmy.world
link
fedilink
9
edit-2
1Y

My impression at the time was that Ruby and Python both caught on with people who were ready to be done with Perl.

And, later, that Go set out to be a replacement for Java, but ended up being a replacement for Python for people who were ready for type checking and built-in multithreading.

@zagaberoo@beehaw.org
link
fedilink
4
edit-2
1Y

Me too! Even just the fact that only false and nil are falsey is enough for me to prefer Ruby. Being able to use ||= as an idiomatic one-time initializer is rad. Python’s OOP bothers me in a lot of ways compared to Ruby as well. And don’t get me started on Ruby’s blocks. . .

@lolcatnip@reddthat.com
link
fedilink
English
71Y

The OOP in Python isn’t bolted on. It was there from the first version I ever saw in the 90s.

@zagaberoo@beehaw.org
link
fedilink
1
edit-2
1Y

You’re absolutely right, not sure where I thought I had read that.

Edit: It’s actually a bit less clear cut when you consider new vs old style classes, which took the Python 3 discontinuity to resolve. But still, it was wrong to imply that Python didn’t originally support OOP.

Create a post

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



  • 1 user online
  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 1 subscriber
  • 1.21K Posts
  • 17.8K Comments
  • Modlog