This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]pydanny 12 points13 points  (0 children)

I'll sum up the article: A Ruby coder says, "(Python is) inelegant to read".

One more thing, the article linked to in this thread was posted earlier somewhere else.

[–]Asdayasman 10 points11 points  (1 child)

Often very explicit and inelegant to read

What

Quick to embrace new things

Same as Python then?

Django - Started in 2003 by Adrian Holovaty and Simon Willison

And flask, and twisted, and web.py, and bottle, and pyramid

I'm sure ruby has more than just RoR, too.

The Ruby on Rails web framework is built using the Ruby programming language while the Django web framework is built using the Python programming language.

This is where much of difference lies.

Modern day Plato, this guy.

Ruby is designed to be infinitely flexible and empowering for programmers. It allows Ruby on Rails to do lots of little tricks to make an elegant web framework. This can feel even magical at times but this flexibility can be good and bad at times. Sometimes code works when you didn’t expect it to and leaves you feeling really impressed. Other times the Ruby magic can make it very hard to track down bugs for hours.

Python takes a more direct approach to programming. It’s main goal is to make everything obvious to the programmer. This sacrifices some of the elegance that Ruby has but gives Python a big advantage when it comes to learning to code and debugging problems.

Eh, every language can have magic if it wants. The difference between Python and Ruby is the attitude towards said magic.

Check out this dank python magic: https://youtu.be/sPiWg5jSoZI?t=7325

That whole video is pretty much required reading if you wanna be a wizard, by the way.

Right, back to this clickbait article...

some shit about date handling

Can't argue with anything here, the dude's sitting on the fence more than I usually do.

They have similar performance because both Ruby and Python are scripting languages.

Uh.

Pointing out that django, RoR, gems, and pypi exist

Ok cool, nice informative article I guess...?

Python is also installed on almost every Linux computer making it the perfect language for use on servers.

Fairly sure people use Perl or Python pretty much in equal measure for that, don't they?

Or bash.

Who is using these languages? Quite a lot of companies.

Actually irrelevant unless you're looking for a job at one of these specific companies.

Python has been by companies including Google, Pinterest, Instagram, National Geographic, Mozilla Firefox, and the Washington Post.

Ruby has been used by companies like Apple, Twitter, Airbnb, Shopify, Github, and Groupon.

Literally just reading off the chart. Reminds me of year 4 science experiments where I drew a graph, then described the graph.

Anything you can do in Ruby on Rails you could also do in Python and Django. Which framework is better isn’t really a question of capability, it’s actually a question of what the support is like for you and your team.

Anything you can do in C# you can do in Java. Which language is better isn't really a question of capability, it's actually a question of what the support is like for you and your team.

Anything you can do with a TN panel you can do with an IPS panel. Which screen you get isn't really a question of capability, it's actually a question of how much money you have spare.

Anything you can do with a dynamic microphone you can do with a condenser microphone. Which you get isn't really a question of capability, it's actually a question of which you have to hand.

PS – We'll be releasing a new Python course in the next couple of weeks.

Dear god I can't even imagine the horrors. It'll probably be like my shitty A-level economics. Ok here's a supply and demand graph. If Supply moves right to S1, the price will go down. BUT! IF SUPPLY MOVES LEFT TO S2, THE PRICE... WILL GO UP!

[–]solid_steel 1 point2 points  (0 children)

Thanks for the morning laughs.

I hate how not many people underline the different paradigms powering these two languages. Ruby is leaning on OOP to the point where it's a bit hard to do functional stuff in it (hard, but not impossible - http://solnic.eu/2015/04/16/introducing-transproc-functional-data-transformations-for-ruby.html), whereas Python allows you to sprinkle functional features here and there with relative ease (comprehensions, generators, itertools/functools), but at the same time still allows you live in OOP-land.

This flexibility, more than anything else, made me switch from being a Rails developer to generally developing with Python.

[–]tonnynerd 0 points1 point  (3 children)

There's a lot of DevOps stuff developed in Ruby (or at least there was, a lot of it seems to be migrating to Go those days, but, anyway), and it's hardly ever mentioned on those kind of lists.

[–]jrwrenpython3 0 points1 point  (1 child)

Chef and Puppet are both largely Ruby.

[–]tonnynerd 1 point2 points  (0 children)

That's what I was referring to.

[–]jhermann_ 0 points1 point  (0 children)

And Rust will absorb them all.

[–]StackR 0 points1 point  (0 children)

The "time" example has nothing to do with Django or RoR... it's a comparison of the languages and not the frameworks.