News for hackers. Stuff that matters.
Re:Why I Hate Frameworks by swombat on Tuesday January 13, 2009 @06:18AM (#431912)
They 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.
Re:Why I Hate Frameworks by nailer on Tuesday January 13, 2009 @08:18AM (#431986)
Exactly. 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

Re:Why I Hate Frameworks by swombat on Tuesday January 13, 2009 @08:35AM (#432005)
Well, 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.

Re:Why I Hate Frameworks by parenthesis on Tuesday January 13, 2009 @09:45AM (#432068)
Have you tried assembling an Ikea flat-pack?
Re:Why I Hate Frameworks by swombat on Tuesday January 13, 2009 @11:09AM (#432167)
Many 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.

Re:Why I Hate Frameworks by nailer on Tuesday January 13, 2009 @11:05AM (#432161)
Things 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.
Re:Why I Hate Frameworks by swombat on Tuesday January 13, 2009 @11:07AM (#432164)
Things from IKEA are flat-packed end-products.
Re:Why I Hate Frameworks by nailer on Tuesday January 13, 2009 @02:25PM (#432536)
End products are finished. If something requires assembly, it is not an end product.
Re:Why I Hate Frameworks by alex_c on Tuesday January 13, 2009 @03:51PM (#432674)
LEGO is an end product.
Re:Why I Hate Frameworks by nailer on Wednesday January 14, 2009 @03:24AM (#433396)
Yes, but that's because Lego is sold on the experience of building. IKEA products, like Frameworks, are sold on the purpose of having something finished and useful at once you've put in a little work.
Re:Why I Hate Frameworks by axod on Tuesday January 13, 2009 @10:50AM (#432144)
I 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.

Re:Why I Hate Frameworks by swombat on Tuesday January 13, 2009 @12:32PM (#432302)
The 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.

Re:Why I Hate Frameworks by axod on Tuesday January 13, 2009 @12:45PM (#432330)
"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.

Re:Why I Hate Frameworks by blasdel on Tuesday January 13, 2009 @07:51PM (#432980)
That's a bad example to bring up, considering how Apache httpd is such a massive pile of shit.