Ruby on Rails
Thursday, May 2, 2013
> I agree that ORMs tend to make you think un-object-orientedly sometimes
Isn't the primary purpose of ORM to provide an object oriented way of dealing with your data ?
I've been using Rails for 4 years, and I don't complain. I can ask an absolute beginner in rails to build something for me, and I still get fairly modularised code thanks to the conventions, which make things suck less for the beginners. I agree novice programmers using Rails find the framework an excuse to write code without thinking about important things like SOLID principles. But I guess that's better than a beginner writing code without a framework and not thinking about SOLID. For me, the conventions are not obstacles, most of the time they help me from going astray. If there's something that doesn't fit my needs, I can always write my own piece of code. From my experience, a frustrated day at work would usually be caused by bad programming and rarely the framework.
On 3 May 2013 06:03, Julian Leviston <julian@coretech.net.au> wrote:
On 03/05/2013, at 12:09 AM, Matt Jones <al2o3cr@gmail.com> wrote:
On Thursday, 2 May 2013 05:19:17 UTC-4, Bigos wrote:I hate Rails sometimes. Now and then I have a feeling that using Rails is like trying to fit a square peg in a round hole. For example Active record doesn't fit my every need and sometimes I have to use SQL. Because I use Rails I have lost much of my SQL skills. Last time I had some unusual problem it took me 6 hours to write a query. It seems that I modify problems to fit them into Rails instead of modifying Rails to adapt it to my problems.
Similarly, I've found that using C has really weakened my assembler skills. (trollface)--Matt JonesHehe.It's not Rails that's a problem here, per-se, it's ORMs that the OP seems to have a problem with - shaping his application architecture choices. Maybe he should be using MagLev and therefore Gemstone ;-)I agree that ORMs tend to make you think un-object-orientedly sometimes... but usually they can be worked around, and they provide a good pragmatic "best fit" for most uses. It's pretty darn good for free!Julian--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment