4 ms·
Rails: Here's a kick-ass hammer, a kick-ass saw, a kick-ass measure tape, etc... Oh, and if you need them to be different from the default, you can modify them
by swombat 18y ago
Rails: Here's a kick-ass hammer, a kick-ass saw, a kick-ass measure tape, etc...
Oh, and if you need them to be different from the default, you can modify them as you want, but we think the default works for most people.
- statictype 18y agoBut don't bother checking for the spring mechanism that retracts the measure tape in case it breaks or the power supply connection point on the saw if it stops working. Those bits just magically work! :)
- vesan 18y agoThere must be hole in the spring mechanism testing procedure
- swombat 18y agoThey don't magically work. You'll understand the mechanism when you know a bit more about how to build a measure tape and a saw. Also, all the so-called magic is extensively and automatically tested, and so an order of magnitude more reliable than your own custom-rolled spring mechanisms.
- nailer 18y agoExactly. This is why the article is such a bad analogy - frameworks makes things simpler by handling things you'd already do without them. If you're making a spice rack: Without framework: DIY shed filled with tools Framework: IKEA
- swombat 18y agoWell, not quite... that's a bad analogy too, actually... Rails isn't IKEA - and most java frameworks are definitely not IKEA. Frameworks are tools, not end products.
- parenthesis 18y agoHave you tried assembling an Ikea flat-pack?
- swombat 18y agoMany times, and I can't for the life of me understand why anyone would struggle at it. IKEA provides flat-packed products. You never buy a wardrobe at IKEA and then turn it into a couch instead. It will always be a wardrobe, and nothing else. On the other hand, if you buy a set of tools and environment (aka framework) to build furniture, you can use it to build whatever furniture you want/can.
- nailer 18y agoThings from IKEA are not end products. However all the cutting, planing, and much of the other work has already been done, in the same way that the method of talking to the database and the webserver have been done in the framework.
- axod 18y agoI think the issue is, a spice rack from IKEA may work, but it's not going to look great, or last long. Any flat pack spice rack, will be shoddy quality, and probably break. You don't get good furniture by mass producing it like that. Same with software. What if I want a custom spice rack, with some secret compartment, in solid oak.
- swombat 18y agoThe idea that using well tested, widely spread open source software is somehow less reliable than writing your own is the kind of baseless FUD I wouldn't expect from you, axod. Next, you'll be suggesting that people write their own web server instead of using Apache? Or perhaps they can trust other people's code so long as they pay for it, so you'll send them towards IIS? Come on, now.
- axod 18y ago"Next, you'll be suggesting that people write their own web server instead of using Apache?" If the webserver is a key component in your success, then definitely. Write a webserver. It was for me, which is why I wrote my own (After I found others lacking). If it really matters, and the existing stuff isn't good enough for your use-case, write it yourself.
- blasdel 18y agoThat's a bad example to bring up, considering how Apache httpd is such a massive pile of shit.
- thomasmallen 18y agoIf Rails were a toolbox, all of its tools would break under duress. Regarding Ruby: "And furthermore, for me, programming languages and their runtimes are tools. I think they are for a lot of us. You wouldn’t continue to use a hammer whose head keeps flying off when you take a swift backswing, would you?" Good read: http://cbcg.net/2007/04/22/python-up-ruby-down-if-that-runtime-dont-work-then-its-bound-to-drizzown.html http://cbcg.net/2007/04/22/python-up-ruby-down-if-that-runti...
- sofal 18y agoHe also goes on to say: I am discounting Rails here: I think Rails is great for what it is and I’ve had nothing but good experiences with it precisely because it is so “opinionated”. Its a very productive environment and manages to successfully avoid the runtime problems that I’ve personally hit in the past. So... are you trying to make a point about Ruby or about Rails? Dare I give out the clichéd "Rails != Ruby" response here?
- thomasmallen 18y agoNo, that mistake typically is a result of somebody faulting Ruby for Rails' problems. As the parent to my comment said, Rails: Here's a kick-ass hammer, a kick-ass saw, a kick-ass measure tape, etc... My point is that those kick-ass tools may be made of balsa. The editorial that I linked immediately came to mind because it too used tools as an analogy.
- swombat 18y agohttp://rubyonrails.com/applications http://rubyonrails.com/applications says you're wrong.
- thomasmallen 18y agoAbout?
- 18y ago