What do you use Ruby for?

G

Glenn

What's changed is that I'm using actively trying to use Ruby as much
as possible, which means that I'm starting to see more possibilities
for it!

:eek:)
 
Joined
Sep 8, 2013
Messages
1
Reaction score
0
I think you mentioned in an earlier post that you're a VB & VBScript
programmer. This is also my primary field of work, so I can attest to
Ruby's usefulness in replacing lots of the applications that I write
for people. I used to write these apps in VB, but this meant keeping
all the source code files in a separate directory, then recompiling
the *.exe file each time, testing, recompliling, etc. With a Ruby
script, I can just open the script right on the user's computer, make
a change to the code, and re-run it right there. It's an incredible
time saver.
Also, I write lots of SQL Server stored procedures, and use Ruby to
help me write the code. For example, if I have to type
Select day01, day02, day03, ... up through 31, instead of manually
typing all 31 field names, I just use a couple quick lines of Ruby
code:
1.upto(9){|x| puts 'day0' + x.to_s + ','}
10.upto(31){|x| puts 'day' + x.to_s + ','}
and I have my complete list. There are many areas like this where it's
useful. I've had people ask me for a list of all the Word documents
with more than 100 characters in the filename's length. This kind of
search goes beyond Windows' searching capability, so I have a Ruby
script to search for this. I used to write these in VBScript, but
there was no easy way to make a GUI front-end. It's so easy to make a
GUI for these scripts using the FXRuby examples.
Like you, I'd love to see Ruby replace VB for rapid application
development. It has the same readability and clarity as VB which helps
novices, but also has the power and object-orientedness that VB lacks.
(Yes, I know that VB.Net adds all that, but that's another story.)

I know that many people may [mistakenly] look down on this as not a real 'programmer' opinion, but do you realize that every single thing you mentiond you enjoyed doing with VB/VBSCRIPT, but could do better with Ruby.........You can build an MS Access application to do, using vb/vba ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top