Ruby on Rails

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Zugzwang152

Lifer
Oct 30, 2001
12,134
1
0
Originally posted by: BingBongWongFooey
Originally posted by: Zugzwang152
Silly things like not being able to do function_that_returns_array(someargs)[0]

I wasn't aware that this wasn't possible, however I don't consider this to be a significant disadvantage. it adds a single line to dump the result of the function into a variable and access variable[0]. True, it will add up in a complex (non-web) application, but the performance hit is negligible to non-existant, and it doesn't deteriorate readability of the code either.

That's why I said that specific examples are kind of a waste of time. Yes this one thing is not a huge deal, but there are these "little" things everywhere and they end up changing the whole experience.

in either event, i'm going to take a closer look at ruby when i get a chanec :thumbsup:
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Well I have been using it for a couple days at work now, and I have a little search thing done that's about 60 lines of code in the controller, and that was the "hard" part. I have been stumbling around a little just due to not knowing Ruby yet, and although it's not always easy to find answers to stuff on the web, it's not all that bad, and it puts hair on your chest. :p
 

screw3d

Diamond Member
Nov 6, 2001
6,906
1
76
I just read some stuff about Ruby.. so bump to continue the discussion :)

Edit: Read some tutorials.. the syntax looks like a PHP/Perl hybrid with a lot of automation when dealing with MySQL.. hmmm interesting
 

imported_FishTaco

Golden Member
Apr 28, 2004
1,120
0
0
Originally posted by: BingBongWongFooey
Well I have been using it for a couple days at work now, and I have a little search thing done that's about 60 lines of code in the controller, and that was the "hard" part. I have been stumbling around a little just due to not knowing Ruby yet, and although it's not always easy to find answers to stuff on the web, it's not all that bad, and it puts hair on your chest. :p


I just found the time to look at Ruby on Rails, so far it seems interesting with some nice potential. You've had 3 months with it, how has it worked out for you? Your follow up thoughts on Ruby on Rails would be appreciated.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Well I finished the site I was working on, and overall I liked it. It certainly doesn't solve ALL problems -- you still find yourself trying to find the best way to avoid duplication of things, and stuff like that. But MUCH less than with, say, some homebrew PHP stuff you might otherwise use. The site is here -- it's pretty simple. We tried to give it a craigslist-like simplicity.
 

Insomniak

Banned
Sep 11, 2003
4,836
0
0
Just bypass them all and learn Lisp. It's arguably the most powerful language out there right now anyway.
 

screw3d

Diamond Member
Nov 6, 2001
6,906
1
76
Originally posted by: Insomniak
Just bypass them all and learn Lisp. It's arguably the most powerful language out there right now anyway.

RoR is a framework.. Lisp is a language. It's two different things.
 

Insomniak

Banned
Sep 11, 2003
4,836
0
0
Originally posted by: screw3d
Originally posted by: Insomniak
Just bypass them all and learn Lisp. It's arguably the most powerful language out there right now anyway.

RoR is a framework.. Lisp is a language. It's two different things.


Yeah, but what with all the discussion of Python, Ruby, Perl going on in here....