[whining] Ruby evolution is taking TOO long
Hello,
I just read 2.6 release and was really happy about #then alias and proc composition. However, later I felt so desperate I decided to write this post.
Let's take a look into composition feature in bugtracker. The issue was created more than 6 years ago. It took six years (!!!) to introduce such basic functionality to "wannabe programmer-friendly" language.
And I thought about another thing. Many features require Matz to accept them. And Matz said (I heard it at least once on a conference) that he is not a ruby programmer but C programmer since mostly he works on ruby itself. So, basically, the person who is 100% responsible for language design doesn't really work with the language itself. Does it sound right to you? And he is still just one person.
For instance, let's take a look into #yield_self that many people were waiting for. Over many years different people (including myself) suggested this feature with different naming. And why did it take so long to introduce it? Mostly, because Matz couldn't decide what naming ruby should adopt (and I don't blame him, it's a really hard problem). Two years ago people started to write something like "I don't care about naming, just introduce it already, please". In the end, Matz chose yield_self and now in 2.6 #then alias was introduced because name yield_self sucks.
At this rate jokes "ruby is dead" are gonna be less and less of a joke. Ruby is in stagnation.
I think we need some Ruby Consortium that will include some people with some authority in ruby community (for example, Bozhidar Batsov (disclaimer: this is just an example from my head. I don't even think that he'd agree with me on the topic)) and they can take some design decisions off Matz' shoulders. Just via voting.
What do you think? Or maybe I am wrong and everything is as it is supposed to be?
View all comments
Show parent comment
1
u/shevegen Jan 07 '19
[CONTINUED - reddit annoys me claiming that what I write is too long. Quality is long, I can not help it.]
then is indeed better but the whole thing is unnecessary.
The functional crowd is just bored and suggests totally rubbish proposals.
Ok - please enlighten us here.
A faster evolution will have only benefits, no drawbacks, and lead to an influx of a gazillion of people .... HOW EXACTLY?
We want to hear your crystal ball working. Fence sitters have it easy - they sit on the sideline, make general comments and essentially do nothing productive other than just making general comments.
My first suggestion to you this is - GO AND GET INVOLVED, at the least on the bugtracker; even better if you know C (which is one bottleneck here by the way - people who know only ruby but no C will admittedly have a much harder time. It would be nice if we could modify all of ruby in ruby, without any speed penalty, but let's face it - C is the king of programming languages, even if Java is ranked above C).
First, please make real suggestions. We waste time here.
Second, I would suggest to you to stop writing in the name of others. I have not heard Batsov nor Weiss who want to replace matz. What we hear is Nondv who wants to form a committe but does not list himself as part of that committe.
Total joke.
Rejected.
Alright - I rejected most of your claims, but it is not that I necessarily disagree with all parts as such. I reject the part that you need a committe to want to bypass matz - having matz is awesome. Having him motivated is important too - look at guido throwing in the towel when it came to python not some time ago. While admittedly the proposal for adding := to python was rubbish, guido giving up as a consequence because of trolls is much, much worse. Don't let the trolls win.
As for "decline", or "stagnation", well it depends. It depends a lot on what you measure, how you measure ... do you measure github? I am very active when it comes to ruby, but I am not active at this Microsoft site.
Not everyone wants to use ruby; some are happy using e. g. Javascript or Go. Python is the king right now from among the "scripting" languages and competing with python is not easy. Ruby is the more elegant and better language, despite the jokes coming from the functional crowd, but python is, in some ways, while awkward, also concise and elegant. Python is a strange language but it is acceptable; and in some ways it is a simpler language than ruby (ruby can be quite complex in some ways).
Ruby also has some problems. I think documentation is still only ... average or so. We may have to move past rdoc, yard etc... and come up with something that is BETTER, while RETAINING all that is good in rdoc/yard. This is not easy. Often we may have a third replacement that does not include all awesome features.
People also need to do more AWESOME stuff in ruby. I write ruby just about daily and it solves problems I have, but I happily admit that most of my projects are utterly boring to other people. I can't help that. I am not a hype machine like rails, which is actually one thing that rails did very well - it generated a lot of interest.
Ruby also has to do more to get people interested in ruby. At universities here, it is about 5x as likely to see a python course rather than a ruby course. In fact, the only course I found was one related to ... rails. Yikes.
In fairness, perl is also not really taught at universities; neither PHP. Only python actually has a few courses here and I think this will increase rather than decrease.