Mailinglist Archive: opensuse (2532 mails)

< Previous Next >
Re: [opensuse] Quick perl question - why are @array[$num] and $array[$num] the same?
  • From: G T Smith <grahamsmith@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 01 May 2008 15:46:18 +0100
  • Message-id: <4819D7BA.5040502@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Randall R Schulz wrote:
On Thursday 01 May 2008 00:36, Sam Clemens wrote:
...

I gave up on perl.
It makes my brain hurt -- like trying to read 1970's era BASIC code.

I concur. Perl verges on being an abomination. "Pathetically eclectic
rubbish lister" indeed!

I once (in the Perl 4 era) wrote a code generation tool in Perl, but I
no longer can even read that stuff.

If you're going to start programming things that go beyond what works
well in BASH, you'd be better off with Python or Ruby or even Groovy.


Randall Schulz

How legible a bit of code is really down to the programmer not the
language the code is written in. There are people that tend to think
that abstracting a language to a level closer to pseudo code improves
the coding experience, IMHO all that tends to do is reduce the scope of
the programmer to control and tune the code.

Personally I have a pathological dislike of languages which use
indentation to define blocks and use eol as a statement terminator.
Which is the reason I have never bothered too much with Python, but that
is a personal preference not a comment on the language itself. PHP is
not just a web site language and has been used a non-web application
script language, and javascript can also be used this way. (Though I
have not done this on a *NIX platform).

Ruby ... you are having a laugh I hope... performs like a dog according
to the bench marks... a bit of Web 2 nonsense.. Groovy.. is it even a
standard??


- --
==============================================================================
I have always wished that my computer would be as easy to use as my
telephone.
My wish has come true. I no longer know how to use my telephone.

Bjarne Stroustrup
==============================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFIGde5asN0sSnLmgIRAlwtAJ4u6qNKeLVpg1o/cwQTQc+9PpWdTwCgrUKO
PgvdymQ6NPvd1yy3jQuOQgA=
=WIjj
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >