News for hackers. Stuff that matters.
Re:Today's Email Incident by niggler on Tuesday March 19, 2013 @08:48PM (#5404789)
"regrets building on Rails."

I'm surprised they haven't tried to build their own framework / programming language (like Facebook with HipHop). It wasn't a bad idea to start with rails, but now they subject themselves to the issues of Ruby and Rails without an alternative

Re:Today's Email Incident by jaggederest on Tuesday March 19, 2013 @10:10PM (#5405155)
Why would bringing a framework in house be better than using open source?

I'm confused by all these people that thing 'Rails is crap, clearly people should roll their own everything since that will be more reliable and better engineered'

If you think Rails is crap, the only answer is to look to 'more mature' platforms, not roll your own. Spring/Hibernate might be a reasonable answer. Django is not, being at a very similar level of maturity. Nothing in PHP even begins to approach the level of maturity.

Software engineering is hard. Really hard.

Re:Today's Email Incident by niggler on Tuesday March 19, 2013 @10:26PM (#5405221)
No software is a panacea. Decisions are made which favor some use cases over others.

When you are as large as google or facebook or github, those decisions which don't naturally mesh with your workflow become more painful over time. And when you have enough in-house resources, the cost to working with the existing solution far exceeds that of extending it on your own or building your own.

Hiphop is a good example where Facebook saw certain things they wanted to optimize in PHP, and it made far more sense for them to work on their own thing (many of those decisions underlying hiphop make sense for facebook but not for most companies deploying PHP)

Re:Today's Email Incident by nonamegiven on Tuesday March 19, 2013 @09:31PM (#5404972)
I sometimes wonder if a good alternative to django/rails is to use the most minimal framework that's reasonable to start with, and then gradually customize it away.
Re:Today's Email Incident by mhartl on Tuesday March 19, 2013 @09:36PM (#5404985)
This actually sounds like a promising idea, though only if you've got insane dev chops on the founding team. In the Ruby world, Sinatra would be the obvious place to start. On the other hand, you might just end up reinventing Rails.
Re:Today's Email Incident by larrywright on Tuesday March 19, 2013 @10:08PM (#5405149)
I love Sinatra, but there's a long-running joke that if you look at the source for any Sinatra application with even a little complexity, you'll find a half-baked re-implementation of Rails inside. I've built apps like that and it's definitely not an exaggeration.
Re:Today's Email Incident by mhartl on Tuesday March 19, 2013 @11:06PM (#5405355)
Ah, so following Greenspun's tenth rule [1], perhaps we have this:

  Any sufficiently complicated web application contains 
  an ad hoc, informally specified, bug-ridden, slow 
  implementation of half of Ruby on Rails.
[1] http://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule
Re:Today's Email Incident by jaggederest on Wednesday March 20, 2013 @12:31AM (#5405647)
That was my road to Ruby: Developing in PHP "mvc" frameworks. Even had a PHP active record implementation. Create function was used heavily ...

http://php.net/manual/en/function.create-function.php

Re:Today's Email Incident by larrywright on Wednesday March 20, 2013 @02:11PM (#5409049)
That's probably almost the exact quote I saw :)
Re:Today's Email Incident by Argorak on Wednesday March 20, 2013 @04:24AM (#5406132)
Yep, especially as there are sinatra stacks that already do that for you in a sane fashion, e.g. Padrino.

Also: yes, building from minimal makes you appreciate the work that big frameworks have already done.

Re:Today's Email Incident by nathansobo on Tuesday March 19, 2013 @09:50PM (#5405063)
Tried it. You spend way too much time solving problems that are already easily solved in the existing larger ecosystems.
Re:Today's Email Incident by tlarkworthy on Wednesday March 20, 2013 @08:24AM (#5406768)
Yes indeed, and also leaves everyone in the muck when the lead dev leaves. Your left with a load of code you had wish you had documented as well as the previous frameworks. The value of existing frameworks is the documentation and stack overflow answers.