Just got back from one of our "dinner at Chevy's/browse at Border's and get some coffee" nights (Chevy's and Borders are my two favorite chains in the world, and I'm not someone who likes chains all that much), and while at Border's a book on the Ruby programming language caught my eye.
I've been wondering what people use Ruby for, since I've heard the name increasingly, but know nothing about it. So I picked up the book just to read the introduction, and what do you know, Ruby is basically DM!
That is, it has no compiler syntax (brackets and all that crap), not even the stuff that Python still has. And it's completely object-oriented (even more so than DM, in that every number and string is an object). Interestingly, it takes the "no syntax" even further than DM or Python by having no indentation requirements (removing one of the big objections programmers have...they often hate "white space significant" languages). To remove the need for indentation, they have ending statements for blocks. This seems like a pretty good compromise.
I've long assumed that the next time I can start a non-Perl project, I'd use Python. And maybe I still will, but first I'll probably give Ruby a try.
I noticed that Ruby has built in XML, CGI, and template support, too.
If you have experience with Ruby, comment away!
wonder how many people reading this post know that Ruby Tuesday is a bad ass song by the Rolling Stones...
...sigh... |
OKAY, i JUST NOW saw a COMMERCIAL for a FAST FOOD CHAIN called RUBY TUESDAY, advertising a CRAB CAKE BURGER. that is WEAK.
...but, what a coincidence :) |
Well, I have nothing to comment on concerning the actual topic at hand, but since Ruby Tuesday, the restaurant, was brought up by Tactics, I have something to say about that...
There's one in our local mall (I say "local", but the thing is in the next town up from us, we're not good enough to have our own...lol) Ruby Tuesday (at least this one, I guess I can't speak for all of them), is not a fast food chain... It's a decent sit-down restaurant on the lines of Applebee's, Chili's, etc... One of the "middle of the road" restaurants... Better than McDonald's, but not uber-expensive, either... It has sort of a Sports Bar feel to it, with TV screens all around that usually are playing a game of some kind (and there's a bar, of course)... And it has lots of cool memorabilia hanging on the walls (old sports uniforms and/or equipment, old movie posters, old records, etc) All in all, it's not a bad place to eat... Certainly not worthy of the disdain Tactics has shown towards it...lol Obviously, it is named in honor of the Stones' song (at least one would assume so)... |
oh, okay super saiyan goku x. i just had never heard of it before, and it seemed to be a fast food joint from the single 15 second commercial i caught. thanks for the word-up.
p.s. whenever i see your Key Name, i think of an article i read once... http://ninjapirate.com/returnofjesus.html |
No personal experience with Ruby, but the block end statements sound a bit like FORTRAN (and various languages based partially on it, like IDL, which is quite nice).
DO I = 1, 1000 PRINT *, 'I LOVE FORTRAN' END DO |
I had a quick little XML project to do at work so I thought I'd try out Ruby...but the sample code I looked at was actually somewhat impenetrable, and I fell back to Perl, since I could get the task done in just a couple of minutes using utitility functions my team has built up.
It's not a fair shake though -- I need to get the book and read through it to really understand the language. As it is, I refused to touch Perl for two years, so I'm sure I'll get to Ruby eventually... |
Blech. Pascal does this (an "end" statement), and it drove me crazy. Give me brackets or whitespace any day. =)
Built-in XML support does sound nice, assuming it's decent, but it'd take a lot more than that to sway me into using it.
I had written a rant about what consists of "decent XML support", but I don't want to drag this too off-topic so I'll post it on my own blog. =)