CPLUG: Ruby Talk by CustomFlix

Wow, 51 people turned out tonight! I attended the Cal Poly Linux User Group (CPLUG) meeting tonight which was a talk and pizza party sponsored by CustomFlix (who my company happens to co-lo) about Ruby, a nifty programming language that’s been brought more to the front in recent times. It was about the uses and abilities, aimed to be more of an introduction. Interesting that it’s more af a meta language that you can add to as you are writing your code. Some characteristics remind me of Perl in that it’s very dynamic (i.e. you can create magic objects on the fly) and it doesn’t bind you to one way of thinking about a problem although with Ruby, it seems much more elegant at keeping things simple.

Example: “Nice Day Isn’t It?”.split(//).uniq.sort.join # Output: ” ‘?DINaceinsty”

That’s pretty neat. It takes the object “Nice Day Isn’t It?”, splits it up into an array of the letters (a list), throws away duplicates, sorts them (by binary values) and then joins the array, and you get the output ” ‘?DINaceinsty” all in one simple, elegant line.

If you’re interested in CPLUG, see http://www.cplug.org and http://lists.cplug.org (which I just happen to host for them on this server)

Short Video

This entry was written by joe, posted on Tuesday October 03 2006 at 10:10 pm, filed under Blogness . Bookmark the permalink. Post a comment below or leave a trackback: Trackback URL.

Leave a Reply