Why Ruby?

in ruby •  4 months ago

Why does the Steem platform need ruby?

I started getting interested in ruby development in 2004. Back then, rails (Ruby on Rails) got a huge push in popularity, so it was on a lot of developer's radars.

From the standpoint of simplicity, rails allows developers to start working on a new site using just a couple commands. This was and still is a very attractive feature. Just type rails new idea and you can start working on a site called idea. Or rails new xyz where xyz is whatever you can think of.

A lot of people only know ruby because of rails. In fact, there's a fair number of people who only know a tiny fraction of ruby, but do great things in rails.

But if you want integration with other tools, or if you want to write tools for rails developers, you must know a lot about ruby and the related ecosystems.

So that's my hustle. I like to write tools to make it easier for other rubyists to integrate with Steem.

Is ruby a better language than, say, python? Actually, I don't think it comes down to that. For a lot of languages, it's usually just a matter of preference.

Preference is not usually the case for people who program in c/c++. Often, something literally can't be done efficiently unless you use c/c++. But for languages like ruby and python, if you're proficient (idiomatic) in both, you could use either.

However, there is something that I think ruby has that python is always trying to catch up on. It's not a language thing, it's a library thing.

The libraries offered by ruby aren't superior. That's not it either. I just think they're managed better in the ruby ecosystem than in python.

This is a very small edge that ruby has. If python library developers decided to get on the ball, they won't have a lot of work to do in order to make that edge disappear.

And maybe there is no real edge enjoyed by ruby. Maybe it's just my bias.

So it just boils down to opinion, on that front.


But why does the Steem platform need Ruby?

Simple answer: Ruby will lead to even more applications staked by STEEM Power.

I don't see PHP developers doing this, even though PHP is more popular than ruby (by number of job offers). If you've got an idea to stake, PHP just isn't the most direct route.

We've already got great coverage on Javascript, Python, and even Java to some extent. Ruby is the next in line, in terms of popularity by pull requests.

As a popular programming language, I think ruby really will help onboard even more developers to stake their applications and grow the platform.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Would you expand on “ecosystem”, even if it is just in the form of a list?

·

There's a fair bit of integration for ruby (and most popular languages have these or something similar) in GitHub, rubydocs, travis-ci, codeclimate, and library management.

It's not enough to just write support libraries in code. It's also a good idea to integrate these libraries into other services that support them.

E.g., codeclimate does lint checking and code coverage reports. GitHub watches which libraries depend on each other. Travis-ci tests code on multiple VM environments. And various documentation services check if the libraries are well documented.

Stuff like that.

C4EB0894-569A-4E56-9DA9-5CD3C0DF1DBE.jpeg

·

He’s my favorite character on that show. Weird, right?

·
·

I assumed he was everybody’s favorite character.

It’s the first that I’ve heard of it but I can consider it a beneficial factor to this growing platform

What do you think about Hanami? https://hanamirb.org/

To listen to the audio version of this article click on the play image.

Brought to you by @tts. If you find it useful please consider upvoting this reply.

Wow ruby, why hasn't it been considered already by steemit Inc?

I do not know about programming and those things, although I would like to learn the basics at least, but if you know about the topic, you say it's good ruby for Steem should be tested.

Ruby or not, getting new tools around the STEEMIT ecosystem is they way we make it great. As I am still trying to choose a language to integrate with, maybe you can let me know if Ruby would be enough for a simple application that pulls feeds from STEEMIT based on specific criteria - for example based on author, category or something of interest.
I would like to make such a little application or service, just that I don't know where to get started....