Grant Kelly wrote:

Python would be my choice for the fantasy football task. It's
object-oriented, has regular expressions just like Perl, and is easy
to maintain. Not to mention the CGI capabilities...

I'd use xslt.. though python probably has decent enough xml/html libraries with xpath support.. to lower reliance on regexp.. :-)
xpath is to structure data as regular expressions are to text.. :-)

Sounds like there's enough interest in languages to have an rlug meeting topic on it.. :-) Maybe split the various languages up among interested folk, have them make the case for the usefulness of some particular language.. Linux, at its heart, is a product of programming... any education we can provide in terms of programming, will contribute to the overall strategy (or lack thereof)... I used to teach programming courses at san jose city college.. and it was really awesome to get some of my more interested students into linux etc...

just a thought,
Grant

On 9/20/05, Lance Orner <[EMAIL PROTECTED]> wrote:
On Tue, Sep 20, 2005 at 05:35:16PM +0200, Damon Jacobsen wrote:
I have yet to figure out any advantage these other languages offer
over c++. VB, Perl, Python, etc all seem the same to me. All these
languages seem to be halfway between c++ and a scripting language.
The only new language that seems to offer any benefits is Java, but
only due to its cross platform capability. I would welcome anyone
who knows/uses these other languages to share their benefits.
I use C++ my large multiple-month/year project programming language.
The hard structure is needed when things are really complicated and
will be worked on for a long time by lots of people in a production
environment.

I've use perl for my shorter-term projects.  Trying to write a
screen-scraper for my fantasy football team is much quicker with the
syntax of Perl and it's regular expressions.  Since the syntax is much
looser, it's quick to throw things together at the expense of long
term maintenance.

Perl's objecte orient-ness is really bad, however.  Trying to store
all of the data on a player in the football team above gets wierd as
you write hashes-in-hashes and such.

I've been writing more in Ruby because it has fixed some of these
problems.  It's quick to make a little class to hold my player data,
then use regex expressions to get the data from the screen.  Re-output
everthing as an html page, and we're in business.

Yes, I could write this in C++ and the Boost libraries, but for
informal programming, these non-compiled languates are so much easier
and make programming more fun.

--
 Lance Orner
 [EMAIL PROTECTED]

_______________________________________________
RLUG mailing list
[email protected]
http://lists.rlug.org/mailman/listinfo/rlug


_______________________________________________
RLUG mailing list
[email protected]
http://lists.rlug.org/mailman/listinfo/rlug


_______________________________________________
RLUG mailing list
[email protected]
http://lists.rlug.org/mailman/listinfo/rlug

Reply via email to