Off-Topic > Off-Topic - Tiny Core Lounge

RFC: To RUBY or NOT RUBY

(1/3) > >>

rms46:
Hello All,
If you are asked to introduce the idea of scripting to newbies with only "You Know What" operating systems experience, what will you choose:
1) the traditional "bash, awk, and sed" set, or
2) Ruby, or
3) other what runs on TCL (specify)
Thanks.
 

bmarkus:

--- Quote from: Rahmat on March 19, 2013, 09:03:26 AM ---Hello All,
If you are asked to introduce the idea of scripting to newbies with only "You Know What" operating systems experience, what will you choose:
1) the traditional "bash, awk, and sed" set, or
2) Ruby, or
3) other what runs on TCL (specify)
Thanks.

--- End quote ---

Python

tinypoodle:
I'd replace the "bash" in 1) by "sh" for portability.

Using the expression "TCL" in 3) might create confusion because there is a scripting language named "tcl".
(I can remember a few years ago having been corrected by a member of the team not to use "tcl" as an acronym for "tinycorelinux" to avoid misunderstandings)

Lee:

--- Quote ---to introduce the idea of scripting to newbies
--- End quote ---

I would use sh instead of bash, per tinypoodle's suggestion, however I would be unlikely to include awk and sed as they each deserve a separate intro of their own.

Having said that, I'll have to admit that I know nothing of ruby and very little of lua or python (or sed or awk, for that matter).

I'm thinking that there's not a lot one can't do with the "old-time" unix utilities if one just puts in the time to learn them - sed, awk, tcl, tk, et cetera.

What are the strengths of ruby, python, lua and such?  What do they "bring to the table" that's new or easier?  (I'm omitting perl because of a long standing personal bias.  If I ever revisit perl, I may just come to love it.)

rms46:

--- Quote from: bmarkus on March 19, 2013, 09:06:04 AM ---Python
--- End quote ---

Sure, Python is a GREAT language and "cleaner" than Perl. However, is it easy to be taught to the ones with not much programming interest?

Navigation

[0] Message Index

[#] Next page

Go to full version