Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^5: So much like a natural language

by japhy (Canon)
on Jun 27, 2004 at 04:21 UTC ( #369917=note: print w/replies, xml ) Need Help??


in reply to Re^4: So much like a natural language
in thread So much like a natural language

I learned some Ruby. Enough to write some programs that I wish could be translated easily into Perl. ;) Then I got jealous, and cursed the name of Ruby

One of the nicest features about Ruby is one of it smallest and perhaps least significant. That ending punctuation on methods is so visually appealing and powerful to me.

str = orig.chomp; # chomp()s copy of orig, stores in str orig.chomp!; # chomp()s orig in-place
That just floored me. I wrote one really dumb program that exploited that. I made chomp? that basically returned whether the string would be changed by chomping it. What a cool feature. And so tiny!
_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker, who'd like a job (NYC-area)
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

Replies are listed 'Best First'.
Re^6: So much like a natural language
by pbeckingham (Parson) on Jun 27, 2004 at 05:03 UTC

    Very nice. What a sweet language. When I read the pickaxe book, I get these moments where I think Matz is one very gifted man.

    What a shame it is horribly outperformed by Perl. At least, it used to be. Maybe if/when it migrates over to the Parrot runtime...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://369917]
help
Chatterbox?
[1nickt]: Corion HPs? ugh. I was impressed with Lenovo's gaming laptops; if it weren't for the red backlighting and general flashiness of the aesthetic, I might have gone with that. But all that was until I discovered that the Dell Precision line is still around.
[1nickt]: stevieb I don;t doubt that there's a difference. BestBuy has "consumer" models only on display.
[ambrus]: 1nickt: for some reason, these days they call every computer "gaming", even ones that gamers wouldn't buy. I've bought a keyboard that was labelled "gamer", despite that it has hard springs and seems to be way better for typing than for gaming;

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (14)
As of 2017-03-27 13:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.