Why do people like ruby
There's little to none off this sentiment you describe though. Rails was a pragmatic choice, so we use it. All this was in the Bay Area. Ruby itself is a great language, and that's what it is at the end of the day - it's just a language. What matters more is the community gather under it. As with any community, there are members that tend to be immature and arrogant which may reflect to anyone as a representation of the entire Ruby community as whole.
Worse comes to worst, these "few members" can affect the culture of the community especially for new users of the language, turning the community and the language somewhat "cultish". It sucks to think that an entire community gets the reputation of a group of assholes. I use Ruby and rails quite frequently and have definitely run into these type of people, but I've also been helped by seemingly great people more times than not.
My problem is that every RoR developer I've met is like this. Many also also seem to be more in the design field than actual developers. I'm sorry that the community has treated you like this. I guarantee we're not all like this.
Maybe they're all trying to call on their inner DHH, or maybe they're really just assholes in real life, either way it sucks. Were these people you've actually met or were they online? The syntax. Python's syntax is much cleaner. I tried to find examples of Ruby's awful syntax in tutorials, but much to my surprise, the code in the introductory sections of a couple tutorials picked at random looks clean and the language seems nearly Pythonic.
This code apparently calculates factorials with the! The function ends with an expression on the last line that doesn't look like it would have side-effects. There are question marks and colons in weird places in that file, too. I started to translate the function into Python, to show you how much cleaner it would be, but I simply couldn't follow what the multiple nested map's and uniq is supposed to do.
I'm certain that the Python equivalent would be much easier to follow. Even if you take "equivalent" to mean "list comprehension" or "itertools. I don't think this project is particularly good or bad. I merely picked a random piece of Ruby code from an app I installed recently, and I feel the difficulties I had with the syntax of this function are representative of my struggles with Ruby as a whole.
All the strange symbols make Ruby code very hard to read. For me, the effort required to learn a language is directly related to the number of operator symbols it contains. Ruby is nearly as bad as Perl or shell scripts.
In Python, by contrast, you can usually get a fairly good idea of what syntactical constructs do without consulting the manual, even if you're unfamiliar with them.
To be fair, lambda is an exception. I understand you.. There is a lot of bad code out there, but you shouldn't judge Ruby by a random code snippet- Ruby is just the tool, and the developer is responsible to write clean code.
I don't know what the code is trying to do with all the nested mapping.. From what I've seen, people are angry at a certain subset of the Ruby on Rails community, but then they take that anger and generalize it to the Rails community or even the Ruby community as a whole.
You really can't hate a language well, I do have a complex relationship with PHP. What people hate are stereotypes built around communities. Usually from the conduct of some individuals. Every community has them. I mean, even the COBOL guys must roll their eyes anytime someone writes some douche comment about the language. Don't pay attention to them. There are many nice people in the Ruby community.
People who are there for the code, and not the drama. Now, don't get me started about those Visual Basic guys I think you can hate a language.. You don't hate Java. You hate the decisions that ultimately led you to working with it.
Like many of the comments have already mentioned, people in the Ruby on Rails community are arrogant. They think they are doing things in the right way.
I see more arrogance here than I ever have in the Ruby community, to be honest. MrBra on Feb 3, prev [—]. Because they have sweated too hard to get a productive knowledge of their own favourite language with so much of "adapt your brain to the tool and remember how you did by heart" which in ruby never happens it adapts to your human brain and then they are turned off by the feeling of envy for this. Nice example of RoR user blinders.
Taras Kravchenko. Author: Viktoria K. Rate this article! Share article with. Comments 0 Sign in. Sign in with Facebook. Sign in with Linkedin. There are no comments yet Leave comment. Subscribe on our news. Recommended Articles.
How to Contribute to Open Source Project. Tech Navigator views 9 min. Tech Navigator views 11 min. Tech Navigator views 10 min. Thanks for your subscription! Technical articles. Business articles. Please fill in the search field. Python and Ruby have substantial communities behind them. Each community influences the direction of the language, updates, and the way software is built. However, Python has a much broader community than Ruby does.
There are a ton of academic use cases in both math and science where Python has thrived, and it continues to grow because of that momentum. Python is also pre-installed on almost every Linux computer making it the perfect language for use on Linux servers aka. The most popular servers in the world. The community proliferated around Rails and has since been incredibly focused on web development. It has also become more diverse, but not near the level of diversity that Python has reached.
Who is using these programming languages? Quite a lot of companies. Both Ruby and Python are widespread in the tech world. Similarly, there are just as many Ruby on Rails website examples. Ruby saw a spike in popularity between , but it seems like the industry is trending towards Python. If not, learn Python first. Keep in mind there is a difference between Python 2 and Python 3.
Anything you can do in Ruby on Rails you could also do in Python and Django. The better question might be: which language is better suited for your or your team? If you plan on sticking with building web applications, then consider prioritizing Ruby on Rails. The community is good and they are always on the bleeding edge. The magic of Ruby is quite cool but when learning a first language it can indeed be confusing.
Having a more transparent logical structure is definitely helpful. That being said, I abide and love your conclusion: Rails rocks for web applications! All of these frameworks have their highs and lows especially so when real people start using what you build with them. There is no magic, there is only work to be done. Truly Excellent Post.
It is really helpful to self learners who learning ruby and python programming languages.. Thank you for sharing your great knowledge with us.
Looking forward to your further tips on similar topics Thanks… I really appreciate it. The advice here is quality—learn what suits your projects. I use both on a daily basis. Spend your first 3 years mastering one language, then branch out. Once you know one pretty well, similar languages are easy to pick up. That said, I suspect a lot of the Python thumping is irrational—and really just because Google and YouTube use it.
0コメント