Hi everybody,
On Oct 31, 2008, at 12:28 AM, Chris Henry wrote:
On Thu, Oct 30, 2008 at 9:22 AM, Kang Ghee Keong <[EMAIL PROTECTED]>
wrote:
> I thought the attractive part of Python has always been the
whitespace!
Actually not just whitespace. Python has OOP (and a pretty clean one
at that), Perl...
If you don't like the Perl OO system, you could give Moose a try; I've
heard nothing but good things about it. (Haven't tried it myself, yet;
Perl OO is good enough for the kinda stuff I have to do).
http://search.cpan.org/~drolsky/Moose-0.60/lib/Moose/Cookbook/Basics/Recipe1.pod
Not more keystrokes. With emacs, the keystrokes is the same.
Almost... The difference is instead of closing }, you untab (I
consider that 1 keystroke d: )
Woah - are you trying to compare keystrokes with *Perl*?! Aren't we
famous for overcompressed, incomprehensible, one-line scripts?
http://en.wikipedia.org/wiki/Perl#Perl_golf
> Ever considered Scheme and LISP? Only brackets. Is that better?
Scheme is beautiful! The braces aligns nicely (turning off plaintext
for the sake of demonstration):
(define (reverse lis)
(define (helper lis rev-lis)
(if (empty? list)
rev-lis
(helper (cdr lis) (cons (car lis) rev-lis))))
(helper lis nil))
Somebody once compared LISP's brackets to "fingernail clippings". That
said, I've heard nothing but good things about LISP, either. Some day
I'm going to have time to play around with all these new languages and
really fall in love with one or two (other than Perl, I mean). So far,
the only language which I've gotten into at all is Ruby, which -
though absolutely adorable - just isn't C-like enough for my taste.
Beautiful language, though; I hope they steal a lot of features from
them for Perl 6 :-).
cheers,
Gaurav
_______________________________________________
Slugnet mailing list
[email protected]
http://wiki.lugs.org.sg/LugsMailingListFaq
http://www.lugs.org.sg/mailman/listinfo/slugnet