Rails May Not Suck 160
KDan writes "With astonishing regularity, articles or posts come out claiming that the popular Ruby on Rails framework sucks in some way or another. People complain that Rails isn't as easy to deploy as PHP, that Rails just didn't do it for project XYZ. They range from the articulate and well thought out to the frankly inane and stupid (and wrong). Recently, there's also of course been the spectacular nuclear rant by Zed Shaw, which was more a rant against random elements of the community than against Rails, but was still presented as a rant against Rails.
Here's an article that tries to put some perspective on why these opinions are irrelevant to whether or not Rails sucks."
This just seems like nonsense. (Score:4, Insightful)
Re:This just seems like nonsense. (Score:5, Informative)
Use the right tool, for the right job.
Re: (Score:3, Interesting)
Re: (Score:2)
> and especially read the comments:
> http://www.rubyinside.com/no-true-mod_ruby-is-damaging-rubys-viability-on-the-web-693.html [rubyinside.com] [rubyinside.com]
That was a good read, thanks for the pointer. Though as one fellow pointed out, Java seems to have survived the lack of a mod_java. And mod_proxy_balancer + mongrel seems to be doing the trick for most folks. You're right, good comment thread on that one... thanks.
Re: (Score:2)
Java seems to have survived the lack of a mod_java
That's because Java web apps are typically deployed on a app container behind either Apache using mod_jk, or a firewall using port forwarding rules. Both methods allow the graceful restart of a web app the app. The first scenario avoids the need for a "mod_java", as Apache is just proxying requests. In the second scenario, you typically run the app container on Unix using an unprivileged port such as 8080, and use port forwarding from port 80.
Re: (Score:2)
Sure, it takes a bit more work to set up a Mongrel cluster and proxy back to it, but once your done you have a more reliable infrastructure to work with. For example if your application goes down, it's not likely to take everything else on the same server with it, because you're not running within the proxying server.
Re: (Score:3, Interesting)
Re: (Score:2)
> lack of mod_java. There are very few webhosts that
> offer Java. And when they do, it's usually quite more cumbersome to use than PHP
Hm, yup, very true, Java's not a really player in the shared hosting space. I guess I meant that there still seem to be plenty of web apps written in Java... just not in the DreamHost-type environment.
Re: (Score:2)
Re: (Score:2, Interesting)
Quite. Apart from the lack of Java in the hosting space, let's be honest, the whole Apache->Tomcat connector story has been a sorry one indeed. mod_jk, mod_jk2 etc has been a real mess over the years.
Where does this stem from? I think it is a case of the wrong tool for the job again in a way, this time by Sun.
Originally Oak (Java) was designed to run on set-top boxes, where it made sense to have a long-running virtual machine
Re: (Score:2, Interesting)
VS.PHP IDE [jcxsoftware.com]
I'm pretty happy with it although I'm a
Re: (Score:2, Informative)
You need to be pragmatic and smart to get the most out of any language, framework or tool. Rails can't make you write spaghetti code and I'm sure many people who bash Rails didn't take the time to learn how to p
Basically... (Score:2)
Submission may not suck. (Score:3, Funny)
Next time you're trying to defend something, don't start from 'may not suck'. Try something a little more positive.
Re: (Score:2)
I don't get it (Score:2)
I don't know how many times it has to be reiterated: use the tool that suits your needs.
To the author of the article, live and let live. If you enjoy Rails, use it. If you want to experiment with other languages, go for it! Nobody is going to cast you out because you crave knowledge.
I use what I feel comfortable. I build do web design & development for a living. I feel comfortable in PHP
Re: (Score:2)
People have a project they think is suitable for use with Rails and then after spending a lot of time working on it, it turns out for some obscure minor reason, it just won't work. That's when reasonable people start saying "Rails sucks".
Frankly, I won't even try Ruby of Rails, I've been down similar roads, and I don't feel the need to straitjacket myself into a self-limiting framework. Plus the only popular site I know that runs Ruby on Rails has a tendency to just break from time
Too Generic (Score:5, Insightful)
1. (Programming language) owes you nothing
2. (Programming language) isn't perfect
3. (Programming language) isn't suited for all applications
4. (Programming language) isn't suited for all people
The only point he has that doesn't necessarily apply to all languages is:
5. Rails is extremely flexible
I take the first four points as being self-evident for any programming language. It's actually a good list for explaining why there are tons of different languages out there. The reasons stated in the article explain *how* Rails matches with the first four points, but don't really explain why that makes it objectively *does not suck*.
The fifth is the only one that seems to have any sort of Rails-specific content to it; and like I said before, I'm not a web dev so I can't comment on it's validity.
Ultimately, I think the message that can be gleaned is this: that like every other programming language in existence, it is good for some and bad for others.
Re:Too Generic (Score:4, Interesting)
Re: (Score:2)
Fucker, I hope nobody listens to him and commits suicide, unless they're Styx fans.
Re: (Score:3, Insightful)
The fact that bullshit "arguments" like this pass in religious settings is to be expected. The fact that they pass in political settings is to be lamented.
People that think this crap will fly with a technical audience are to
Re: (Score:2)
Re: (Score:2)
Was it Jesus?
Re:Too Generic (Score:5, Insightful)
Rails may be a nice framework, but flexible it ain't.
Re: (Score:2)
This has been the case with *any* RAD (rapid app development) tool since the dawn of frameworks. Nobody has figured out how to solve this barrier. I've decided that the
Re: (Score:2)
This has been the case with *any* RAD (rapid app development) tool since the dawn of frameworks. Nobody has figured out how to solve this barrier.
I don't believe this to be the case. Every problem I've found with Rails is conceivably fixable. A lot of it is just due to the Rails devs stuffing things into the bloated maw of ActiveRecord that really shouldn't be in there, and not separating out their methods properly. I have great hopes for some of the up and coming Ruby ORM libraries to replace AR with something rather leaner.
Their dependencies between each other need to be fairly light so that that you don't have to buy the whole barn if you just want a cow. This generally requires a scriptish language that is not anal over types.
Being anal over types isn't a bad thing, so long as you have a sophisticated enough type system to offer the developer. A goo
Re: (Score:2)
I agree with the parent post, in my Rails days, every headache I ran into had to do with hard coded, poorly designed "features" in ActiveRecord.
I've since moved on to Django, and yes, the framework doesn't do *everything* for you. But it is specifically designed not to. The project has made decisions about quite a few things along these lines "Well, that's just too hard to get right for everyone, so its not in the framework here's how you do this directly, don't use the framework f
Re: (Score:2)
And it's too general, still. It's like saying, "The Honda Element is a versatile automobile." Really? Maybe it is - what do you mean by versatile? Would you happen to know if there are some other automobiles that are versatile?
Re: (Score:2)
Ruby (Score:5, Insightful)
(Well, a more full story is: I started with Ruby, switched to Django, realized my host doesn't support it, tried Ruby again [now I understood the framework better, from using Django, but the language still looked like Swahili], then moved to CakePHP which IS supported by my host, realized how much easier and less-fussy Django was, decided "to hell with my host, I'll get a new one if I ever decide to take this code live" and finally went with that.)
My hang up with RoR is the Ruby part. It's completely unreadable to me. Python, I could understand reasonably well before I even started reading any "learn Pythong" material. Same with most other languages. Any Ruby code beyond "hello world" and simple arithmetic looks like gibberish to me.
However! My first language was Perl. People often complain about how hard it is to read, and I instinctively bristle a bit when they do, because to me, it's the easiest language to read. The reason? Perl code tells a skilled Perl coder TONS about what it's doing and how, but confuses newbies like crazy. Ruby strikes me as being much the same way.
So, I understand why people who have taken the time to really learn it enjoy it so much, but for me it's so much easier to choose a framework that uses a "pick up and go" language like Python and be done with it. It does the same stuff, and I can get right to learning and working with the framework rather than dicking around with the underlying language.
I'm really not trying to pick on the RoR people, nor being petty (really!). I know it's a good framework, and I know that if I took the time to learn it I would like it just fine. Just getting a perspective out there that's not "rah rah, RoR is the best thing ever!" or "boo, RoR ran over my puppy!"
Re: (Score:3, Funny)
Re: (Score:3, Interesting)
Part of it may be Ruby's heavy reliance on higher-order functions. For a programmer with established habits it can be a problem in terms of the way you're accustomed
Re: (Score:3, Insightful)
Do you think that's the issue, or something else?
OK, I'm not going to list ever language I've ever used or otherwise enter a bragging contest, but please just take me at face value when I say I've been around the block a few times. To me, Ruby "feels" like it's trying to be clever. I hate clever, not at first - no, it's fun when you're writing it! - but a year later when I have to maintain something.
Put another way: my wife isn't a programmer but she can read a lot of my Python code. I'm perfectly at home with C, Perl, and various assemblers but I
Blame the programmer not the language (Score:4, Insightful)
A lot of Ruby tutorials do try to be overly clever. But really, quite a bit of C code was/is overly clever, also. People cramming so much stuff onto a single line that the code is unreadable and difficult to support.
But that's not really a problem in the language. That's a style thing. I very frequently when coding in C, Java, or C# split things onto multiple lines that could be expressed in a single line. I often take intermediate values and put them into variables with good names, instead of ramming the values all together.
I remember when I was a wee lad, learning C, and being utterly baffled by a lot of the code I read. Casting pointers to other things, doing math, switching to array notation, then suddenly treating the whole expression as a function pointer, and feeding a stream of other things as arguments into the function... That kind of thing is amusing, but has no place in typical production applications code. Something far more common is huge expressions with the ternary operator that are just one element in a more complex expression. I saw this kind of thing in most of the C code I read, and felt like I must be a noob if I didn't do that. Then one day I decided I just would write code that was simple and made sense, and that's what I do-- it's a style choice.
The point is, writing code that's easy to understand is up to the programmer, and less to the language. People used to defend COBOL because it was more readable. But one huge problem with COBOL is you've gotta write a lot of lines of drivel to get anything done, compared to say C. The price we pay for the comparative expressiveness of C is we have to be more careful with the code to keep it understandable. From C to Ruby is a similar jump in expressiveness, with a commensurate risk of it being less understandable. But it's possible to write difficult to understand code in any language.
Ruby does have some things in it that make it quite different from other languages, most notably closures and metaprogramming. But honest, you do get used to it. You can even avoid the elements you're not comfortable with, and ease into them later.
But over time you start to find there's quick and dirty ways of doing things in very few lines of code in Ruby. And things like testing kits and the way Rails helps you structure your code make it so that your code is spread out nicely, and it's easy to isolate bugs quickly, even if some of your code is a little overly terse.
I recommend not starting with Rails. Spend a few hours alone with Ruby before trying to wrap your head around the way Rails works. Write a tic tac toe program on the console, or something. Get to where you've made peace with Ruby before you get into rails.
Because starting off directly with Rails and Ruby, not understanding either one can be very difficult. They are both such different approaches from what many developers are used to that it's a bit like learning Pig Latin and Chinese at the same time.
Re: (Score:2, Informative)
HMMMMMM...
Now back to work with you! I want a ruby runtime that doesn't suck already.
Re: (Score:2)
But
Re: (Score:2)
sub foobar { $_[0]->() }
foobar sub { print "Blave\n"}
Re: (Score:2)
Re: (Score:2)
Ruby vs Python (Score:2, Interesting)
While Ruby has one advantage or two over Python, such as multi-expression lambdas and Python's statements turned to expressions (statements are a common root of evil and an unnecessary procedural concept), the main problems I see in Ruby as a language, leavi
Re: (Score:2)
Multi-expression lambdas are a pretty big thing for me, though; I miss them a lot in Python and I think the workarounds for their absence usually result in extreme code uglification.
Re: (Score:2)
I'd also personally rather write:
canvas.when_clicked do |x, y|
add_point(x, y)
canvas.request_update
end
versus:
canvas.when_clicked(lambda x, y: progn(
add_point(x
Re: (Score:2)
1. Rails doesn't scale for me.
2. Rails didn't make me a great programmer.
3. Rails didn't make my hard task easy.
A lot of it seems like they are upset that Rails wasn't magic.
The problem with Rails is that I don't think it can live up to the hype. It sounds like a very good framework but people seem to think it is little short of magic. Kind of like XML , OOP, and 4GLs. They are not they are just tools and like every tool they have their good and bad points.
Not everybody
Re:Ruby (Score:5, Insightful)
But you're right, once you actually grasp some of the concepts (and if you don't know about things like map/select/reject/inject (reduce), you really fucking should, I don't care what language you use) and the basics of the syntax, it all just flows; make an array, make a new array from it by running the upcase method on each element, just like: Only it doesn't fall to bits when you want to do non-trivial things to the elements. After that, it's mostly getting familiar with what the other methods do and getting used to using/chaining them. If it doesn't go from confusing to obvious or even useful outside Ruby in an hour or two, you're probably doing it wrong.
Similarly when it comes to things like metaprogramming; it starts off confusing and ends up being a force multiplier for your work. The confusion hopefully means you're learning something new, and you don't become a better programmer by running away from that.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
With RoR, though, all I accomplished was to confuse myself on what should have been an easy-to-grasp topic
Re: (Score:2)
I do think "learn the framework not the language" is a dubious strategy, though; I tend to learn by starting small, with code I can understand and keep in my head, and build u
Re: (Score:2)
If you are averse to buying a book, the first edition of the main Ruby language reference book (Programming Ruby, aka "the Pickaxe") is available online for free (a few things have changed since then, but unless you are using 1.9.0 you probably won't run into many of them).
If your concern with learning Ruby is just for Rails (which sounds like it may be the case), you might
Re: (Score:2)
There is no question that APL code was *too* dense for comfort. On the flip side, it was impossible to program in APL seriously without improving your thinking skills. APL is like the monolith in 2001. Fall asleep beside it, you wake up with a headache, smarter than you were before, forever permeated by the orthogonal "om" of higher dimensionality.
COBOL's major intellectual contribution to the world was selling a lot of IBM's
Re: (Score:2)
Dijkstra defined the best criteria I've ever seen for what makes it possible to reason about a chunk of code (embodying an algorithm) successfully: can you point to any execution point and write down a correct invariant expression of what must be true whenever that execution point is crossed? This is the reason why I adopted the practice of writing code like this...
For me it makes a language like Eiffel, which actually lets me write down invariants (for loops, for functions, and for objects) as part of the code that will (1) get used in testing (2) properly get handled in inheritance cases etc. (3) get used automatically in the API documentation. It makes things nicer for all involved (your assumed invariants will get checked in testing, and anyone else using your code will get the benefits of your documented invariants both in the documentation and in testing.
Re: (Score:2)
Re: (Score:2)
I think it's a combination of:
several other common words with that combo ending in "g" (long, wrong, song, thong, bong, etc.)
and, if you type the way I do, the left index finger naturally hangs between the "t" and "g" after hitting the "t" in "Python", so it's poised to make that stroke.
Re: (Score:2)
Re: (Score:2)
You might check out Python, if you haven't. IMO, it's a great "generic" language. Say, you want to learn to use the WXWindows GUI toolkit, but you don't know which language you might need to use it in in the future; grab the python packages for it and go to town. 99% of your code
Re: (Score:2)
Re: (Score:2)
Here's some Ruby code.
Looks a little jibberishy, honestly. But as I ranted about elsewhere, it's up to the programmer to make the code clear when it needs to be. It depends on who your audience is for reading the code. If they can handle stuff like that above, then great. But if it's gonna baffle them, th
Re: (Score:2)
"[Open-source project] owes you nothing" arguments (Score:5, Insightful)
In what way does criticising something suggest I think its authors owe me something? I mean, I'm highly critical of the GIMP at times, particular its Windows "port" which fails to adhere to anything remotely resembling platform standards, but does that mean I think the GIMP's authors _owe_ me something? No. If anything, it means I _hope_ to be able to _give something back to them_ by making criticisms that they could take and use to _improve their software_, which presumably they do care about. It means I don't recommend people try it unless they're willing to accept software that behaves in odd ways.
Re:"[Open-source project] owes you nothing" argume (Score:4, Insightful)
The only proper response to this is that X owes you nothing.
So if someone says "Rails doesn't scale/Rails is too slow/Rails isn't easy enough for me, fix it right now!" then the response is clear.
In your case, filing a bug against windows GIMP and calmly explaining why you think it's broken is much more likely to get a serious appraisal at some point -- while some asshole (not you) who just complains about it feels an unearned sense of entitlement and should simply be ignored.
Re:"[Open-source project] owes you nothing" argume (Score:2)
Another line is the thin line that separates constructive criticism from mere douchebaggery. It's easy for frustration with a framework to bleed over into personal attacks aga
Re: (Score:2)
There is no magic bullet. (Score:2)
There are reasons my employer doesn't use Java everywhere, for example, and reasons why C or C++ is preferred in some contexts at my workplace while other languages are preferred in others.
In other words, it's quite possible that a given solution works very well for some people and can't cut it at all for others.
Like I always say (Score:5, Interesting)
Of course, hating a system doesn't mean you know it. You can hate a system in a completely uninformed way.
Now back when I got involved with computers, in the 70s, it wasn't like this. We didn't have frameworks, we had libraries. Either a library met you needs and you used it, blessing its authors, or it didn't and you didn't use it. Of course people didn't expect much from applications back then, either. Programs by in large just started up, did something useful, then went away. There was a whole "software tools" philosophy built around this very idea: write programs that do one thing (usually some kind of filtering task), then go away.
By contrast all but the meanest programs today look like operating systems. They're supposed to run forever an take god knows what input from god knows where and do precisely what the designer wanted them to do, plus whatever he would have wanted them to do if he had had the foresight, but nothing else.
And you've got to choose a framework. It's not just diving into a program and deciding you need something that's in a library somewhere. It's not just choosing a framework before you really know what your application has to do. You've got to choose the framework before you interview for the job. So really, life as a programmer involves relatively less solving of real problems and relatively more finding ways to hammer square pegs into round holes.
It's not that writing software is any less fun than they were back in the day. It's that on top of being fun its goddamned annoying.
Re: (Score:2)
Re: (Score:2)
Back in the day before GUIs and IDEs, Emacs was a great choice for a programmer's shell. It gave you windows (well, buffers) , and a pretty good shell language.
You never really know a system until you hate it. (Score:2)
Usual OSS criticism argument... (Score:2)
Shut up about it!
How about instead of whining about people whining about their software, Rails advocates fix some of the issues causing arguments against their framework? Most of the people whining aren't capable of writing their own code to fix their problems with Rails, but their rants should be taken as SUGGESTIONS by the developers, not railed (no pun intended, seriously) against by a community full of zealots.
The
Re: (Score:2)
To the extent that the creators claim that other people should use their project for some purpose, then their reputation ought to be influenced by how well it lives up to those claims. But they're still not under any obligation to fix your issues or add missing features.
To the extent that criticisms are made in abusive, insulting ways, then the developers are big damned heroes if the
Re: (Score:2)
this article is useless (Score:4, Funny)
still waiting to use it... (Score:2)
Part of the problem might very well come from the fact that I have very little experience with it (catch-22?). The thing is, from what I can tell, it's really specialized. I never had this problem with PHP or ModPython.
The article itself is a bit annoying, as it's about as vague as one can get. For us unenlightened, *wh
Re: (Score:2)
> files generated. That scares me. What if I made a mistake at
> the beginning? Is it easy to go back? Do I need to start from scratch?
Yup. Most of the files that are generated are just enough to get you started. For example, generating a simple "person" model class gets you this:
You
Re: (Score:3, Interesting)
It seems that RoR makes heavy reliance on this relationship, which is where it gets it power, has a literalism that disallows abstraction to easily take place. I might be able to abstract the data well enough that it doesn't matter how its held in the SQL DB in a different language/framework/library. However, I'm going to assume that RoR is
Re: (Score:2)
> of the database, how much gets altered will certainly muck things up.
Definitely, yup, when you change the data you'll need to adjust the code as well.
Re: (Score:2)
The thing is, from what I can tell, it's really specialized. I never had this problem with PHP or ModPython.
Stop comparing Rails to languages, you fucking morons *headbutts wall until you all stop*
Of course it's specialized, it's an opinionated web framework for writing web applications in a certain style; on "rails", if you will. If it doesn't suit you, use a different framework, or no framework like you'd do with PHP or Python. Why is that so difficult to grasp when it comes to Ruby?
But how does it fair for more general apps?
You mean, without a database? Stateless, or what? Chances are you have data; you can just disable/not use ActiveRecord and h
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Yes, but as far as I know, RoR is the main package people use for Ruby, versus Python which has 5-6 packages that I know of.
I suggested at least that many alternatives for Ruby, and there are more. You don't base all your decisions on how popular or well marketed something is, do you?
Part of the reason for this is that Ruby's language has some unique features that make it favorable to RoR's style
Perhaps, but it's also perfectly favourable to various other "styles". Metaprogramming is quite a general tool, as you might have guessed ;)
I was assuming that most readers would be smart enough to figure out I meant the standard way you do things in PHP or Python
It's akin to calling PHP development Cake. Names of frameworks are not interchangable with generic terms for web development in a language, and I assumed you'd be smart enough to recognise that. I've used
Re: (Score:2)
If by "package" you mean "web framework" ("web application development" and "programming" aren't the same thing), you are probably right that RoR is, if not the most frequently used, at least the most widely-talked-about Ruby "package".
Assuming, again, you mean "web frameworks" when you say "packages" (Ruby and Python each have thousands of packages available, most of which are not web
Re: (Score:2)
The generation script doesn't actually generate anything especially complex - it's literally like 10 or 12 lines of code. Further, the framework doesn't remember what it's generated, so you can rename / delete stuff to your heart's content without causing any problems.
Re: (Score:2)
You don't have to use the rails generators (including the "rails project-name" command that sets up the initial files and directory structure) if you don't want to. ISTR seeing some tutorials on building rails apps that way (along with ones on doing the
Speed and Protection (Score:4, Interesting)
1. Protect the code. I need to be able to deploy it without the code being easily copied and reviewed. I know, I've seen it all on this topic: I don't really need to protect it, whatever I'm doing isn't that hard to figure out, etc. Trust me, I really need to protect the code. I write products for a living, and my customers will unfairly pirate/sell/give my code away, and it will cut into my income if I can't keep control of who gets my code. This is why I'm using C# and Mono. And yes, I realize that can easily be decompiled. But it's still more than adequate protection in my business space.
2. Make it faster. Ruby is too slow for what I need to do. My customers can only afford around $100 USD/mo for hosting my special purpose application, and for the number of people they get hitting the site, Ruby doesn't cut it. I know, I know, do more caching do more magic, get more computers, build a server farm, etc. Whatever. I just rewrote the thing in C# and I could support way more users per $100 of server. It made me cry to have to do it.
Please, if there's ways to do better on those 2 areas, let me know! But trust me, I really do need to protect the code.
I'm thinking I might be able to solve both of these problems using JRuby some day, but I'm not sure yet.
Re: (Score:2)
Re: (Score:2)
However, locking code down is an interesting problem in that a lot of the more modern high-level languages have no way to really lock down the code.
Your approach is just security through obscurity, but as you say, it may be enough to stop lazy ignorant people. I would be interested in people's experiences with this.
I program in Python, and there is also no real way to lock down the code,
Re: (Score:2)
I agree, and I was kind of surprised about this. At first I thought that surely I must be missing something. Near as I can tell your options for writing Web code without releasing the source are Java, .NET, or CGI-bin using C++ or another compiled language. I actually seriously considered using FastCGI with D, and then I snapped out of my reverie and got to
Re: (Score:2)
That's probably a factor. I think also (and both of these are related to them being one-offs, to a degree) a lot are either:
1) Works-for-hire where the customer is owns the code.
2) Custom development provided by someone who also is paid to manage the application once it is deployed, and the customer doesn't control the servers.
In either case, trying to obscure the code from the customer is unnecessary (also, some incorporate code that is released
Re: (Score:2)
A lot also depends on your deployment setup, which is one of the trickier things about Rails in my mind.
My experience with RoR (Score:2)
Recently, my girlfriend got me started on writing a book recommendation website for her. I had heard a lot of things about Ruby on Rails, so I decided to buy a book and give it a try. I like the AJAX integration. I've never used javascript, and it was easy to jump right into that. The database integration is also neat -- it handles a lot of the gru
Re:My experience with RoR (Score:4, Informative)
The standard story for dynamic language development applies:
The most common optimization that's used with Rails is it's built-in support for caching, which can speed things up by quite a bit. You can get the same sort of results with a hand-optimized memcached setup any other dynamic language - but Rails gives it to you almost for free.
Re: (Score:2)
They said the same about PHP (Score:2)
I don't use it cause I don't have time to learn it but if I hired a new developer who knew it well I'd definitely consider it for some projects.
Re: (Score:2)
If it handles certain tasks better than other methods I know, it's useful.
If it assumes too much about how I'm supposed to use it, its much less useful. Not being thread-safe, not having both blocking and non-blocking versions of certain API calls, etc are all points against a product. I also grade on elegance of design. Th
Re: (Score:2)
True enough, but remember: The set of communities with assholes in them and the set of communities that produce useful software tools overlap almost entirely.
Re: (Score:2)
Re: (Score:2)
Re:The only measure I know of by which Rails sucks (Score:2)
Have you heard of Perl?
Now, it's possible that you're defining "Usable" as "Not in Perl", but Perl has more mature, high quality code available in it than any other "web language".
Re: (Score:3, Informative)
1. The language. Ruby tends to be slower. Something like this programming language shootout [dada.perl.it] will give you details. But this isn't the whole story.
2. Enough rope to hang you. Rails gives you a lot of ways to easily define dynamic classes, where the class is being generated dynamically on the fly. It can make the code lovely and small to use, but can make it slower than hammering it out in a lower level language. This and other techniques can lead to higher memo
Re: (Score:2)
As fast as squid could return the cached pages. I would judge a framework by how easy it is to tag a controller method as being fully deterministic, and therefore generating an ETag off the r
Re: (Score:2)
The constant stream of negative comments about both Ruby and Rails on Slashdot, and from fans of other languages in every other forum on the internet, apparently all came from "no one", is that it?
Right.
No, it never existed. Not even a little