TIP: Click on subject to list as thread! ANSI
echo: perl
to: Maurice Kinal
from: tony summerfelt
date: 2005-02-20 12:24:02
subject: ruby and perl

# On Sat, Feb 19/05 at 02:45 PM, Maurice Kinal wrote to tony summerfelt:

 MK> OO.  I just looked.  You got me curious enough to hunt it down.  I

 MK> Do you prefer it?

for a quickie command line program, i still use perl.

if i need a quick gui program, i still use tcl/tk...

ruby has been the only language that let me write the functions i've been
thinking about for ages, but were never able to implement easily.

for example, one of the things the logging program/module will let you do
is trim/archive (several different ways) a log file while at the same time
still logging information.

with 3 or 4 lines of code you will be able to monitor a log file.

i'm currently heavily testing a program (using the log module) that
monitors every log file on my system.

threads are the easiest to use that i've seen in a while. if you have code
that doesn't rely on resources (or even if it does, with extra glue) you
can write code like:

a=Thread.new {
   # independent code here
}

b=Thread.new {
  # more independent code here
}

the program will only take as long as the longest running thread...

best part is that the ruby code is completely portable...the threading code
will run under dos without a problem...

ruby is great for larger projects. and it's OO from the ground up, unlike python...


.t

... telnet://ventedspleen.dyndns.org
--- GoldED/spleen 3.0.1+
* Origin: ventedspleen.dyndns.org (1:249/100)
SEEN-BY: 633/267 270
@PATH: 249/100 261/38 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.