News for hackers. Stuff that matters.
Re:DHH Ping Pong by joevandyk on Saturday March 15, 2014 @07:45PM (#7407049)
Under 80 lines is a problem.

Most of the designs that DHH doesn't like are from complicated applications that need to deviate from The Rails Way.

I built my e-commerce business with Rails/ActiveRecord back in 2006, when rails was at version 0.7.

For the first few years, I followed rails conventions religiously. There's a point where you have to outgrow them. And that legacy approach is a major pain now. Having a class that wraps a database table and contains all the functionality that accesses that table doesn't scale at a certain point.

But I'm not going to try to show those pains in under a couple hundred lines of code that someone can understand in an hour. Anything that can be compressed to that point doesn't need a complicated design.

Re:DHH Ping Pong by madsheep on Sunday March 16, 2014 @05:26AM (#7408761)
Do you think there is a line limit within you would be able to show said problems? How much would that be?