LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


View Poll Results: Do you use Ruby?
Yes 5 25.00%
No 15 75.00%
Voters: 20. You may not vote on this poll

Reply
  Search this Thread
Old 12-26-2023, 04:08 AM   #1
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,622
Blog Entries: 40

Rep: Reputation: Disabled
Question Poll : Do you use Ruby?


Good morning

First my poll, then the explication:

Do you use the Ruby programming language to develop stuff like simple scripts or full-blown applications, even when limited to the use of Web-frameworks or minor modifications of existing code?

I am sometimes refraining from asking a question, believing that nobody is interested in Ruby anyway, these days.

Last edited by Michael Uplawski; 12-26-2023 at 04:09 AM.
 
Old 12-26-2023, 04:20 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,498

Rep: Reputation: Disabled
I use the shell, (usually bash), sed & (g)awk for anything that I may need doing.
 
Old 12-26-2023, 08:58 AM   #3
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,866
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
No, but what I've seen from it, it looks like a Python-spinoff. Or vice verse, depending on which came first. Or maybe they evolved paralelly.
 
Old 12-26-2023, 09:27 AM   #4
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,151

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
i thought ruby came 1st but i could be wrong, alsoni dont use it as such but it is installed as its a dep for other stuff,like fatmac above i use grep sed awk etc.
 
Old 12-26-2023, 11:38 AM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,662
Blog Entries: 4

Rep: Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942
I don't quite know how to answer your question as phrased, but I have indeed used Ruby – because (as usual ...) I briefly had to support yet another legacy project where the original programmer had used it. The language seemed to be very competently designed, in the sense that it certainly "did the job that was given to it," and did not give me any grief. (Yay!) The language did what the OP had intended, and I simply "fixed his work a little" after he had gone on to greener pastures.

I guess I'd say that it is "well-made, but not outstanding." It seems to me to "plow a well-plowed furrow, maybe a little better than the last plow did."

But ... full disclosure ... I have encountered "oh, so many" 'programming languages' by now. The last one to truly impress me was the GNU variant of Prolog: "gprolog." Which of course is not general-purpose.

Last edited by sundialsvcs; 12-26-2023 at 11:45 AM.
 
Old 12-26-2023, 01:14 PM   #6
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,266
Blog Entries: 24

Rep: Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195
My own brief experience with Ruby was not a positive experience, but in fairness may not be typical.

Some years ago, when Ruby was the new fashion (in my own perception), I was involved with salvage of a troubled project which brought an existing Ruby dependence. It was my first exposure to Ruby so I began by purchasing the pickaxe book.

In the end, much of the reason the project needed salvage was due to the portions implemented with Ruby. Whether that was due to the language, square peg / round hole or just poorly written code I cannot say with certainty. But removal of the Ruby dependence and rewrite of those features was the fix.

But the thing that turned me off most about Ruby was a quote from the originator of the language found in the Preface of the book as I recall (may have been first chapter or two, I no longer give the book space on my shelf). When explaining why he wrote Ruby, and its advantages, it all came down to something like this, "Because I can".

That, and my experience at the time, made such an impression on me that I decided to avoid Ruby entirely in future, which I have done, "Because I can", and because I apparently lose nothing by doing so.

Your mileage may vary, of course.
 
Old 12-26-2023, 08:23 PM   #7
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,662
Blog Entries: 4

Rep: Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942
Of course, @astrogeek, lots of problems can start to surface in any project when more-than-one programming language is introduced into it. And this unfortunately happens a lot. In my experience, the problem is not so much with any one of the languages, but with differences in the contributed libraries upon which every language system necessarily relies. This is not only "instant differences" between how to packages do the "same" thing, but also the simple reality that most of these languages are interpreted, not compiled, and the source-code to the packages is likely being updated by the vendor in ways that are not under the control of the project.
 
Old 12-27-2023, 03:46 AM   #8
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,007

Rep: Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192
I find it and rails to both be great languages and implementations, respectively, and was actually first introduced to it on this site when someone punched out a very simplistic one-liner
to obliterate my awk solution and hence piqued my interest

I would liken it to a python / perl mix (it is a post python language)
 
Old 12-27-2023, 03:59 AM   #9
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Maybe it's the Ruby/rails aspect but I kind of got the impression is was a more modern alternative to php and primarily targetted at web stuff — which is not really my thing — so I never got into it.
 
Old 12-27-2023, 08:00 AM   #10
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,662
Blog Entries: 4

Rep: Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942
@grail, the Perl language historically started out that way, when a guy named Larry Wall bumped into the limitations of "awk" and thought that he could invent a better Tool.

I suppose that every new programming language starts out this way.
 
Old 12-29-2023, 12:36 PM   #11
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,622

Original Poster
Blog Entries: 40

Rep: Reputation: Disabled
It is a pity that Ruby and Rails are often synonymous. Not only are there other Web-frameworks for Ruby but as a complete language it can be used for just anything. I do not care, btw. if you like or dislike Ruby. My objective is to bother you less with questions that you would not be prepared to answer on LQ as they can be very language-specific. I can be very approximative when helping out others, myself
 
Old 01-06-2024, 02:00 PM   #12
haghiri75
LQ Newbie
 
Registered: Sep 2019
Posts: 12

Rep: Reputation: Disabled
Ruby was basically the very first language I became very good at (I don't even say senior or master, just good). The language has potentials. I coded my entire business logic in Ruby (using Rails framework) and works perfectly. I implement most of my ideas as quick as possible with Ruby since I can think ruby.
Therefore, yes I use ruby.
 
Old 01-06-2024, 06:39 PM   #13
maybeJosiah
Member
 
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish maybe
Posts: 195
Blog Entries: 2

Rep: Reputation: 5
I use Ruby on Ubuntu. There is just apt-get install ruby-full and then there is what I did, rbenv and Ruby2d. Ubuntu also supports native Ruby. All as per one might be maybe or might not be maybe, maybe or maybe not, maybe.
 
Old 01-06-2024, 08:28 PM   #14
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,662
Blog Entries: 4

Rep: Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942
The integration of Ruby with Rails was a fine bit of software engineering. The Rails framework is impressive.

Ruby presented no problem at all in the project that I spoke of earlier, which was overall refreshingly “clean” and well designed. My predecessor had done his job well. And left behind thorough project documentation.

Last edited by sundialsvcs; 01-06-2024 at 08:29 PM.
 
  


Reply

Tags
ruby



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Poll: (Without the poll) - How is Linux used in your workplace? SlowCoder General 13 09-11-2007 11:03 PM
PHP v Ruby/Ruby on Rails Neko_D Linux - General 4 02-08-2007 11:56 PM
[Ruby] Tar'ing or Zip'ing with ruby script lmcilwain Programming 2 01-19-2007 06:56 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration