|
|
|
|
|
by exogen
5394 days ago
|
|
And if you'd rather cowboy up some code than stick with the abstractions your team is already using, I'd be glad you left the project. I'm not defending these exact examples or anything, but come on. Any kid out of school can toss some code into a project that just works. It takes some discipline to write reusable code that people know where to look for later. |
|
In the case of Rails, it's a framework and the patterns of that framework are established. I know to look for models in the models directory, controllers in the controllers directory, and helpers in the helpers directory. When I come into someone else's project, it's nice to know where things are. I've inherited lots of code from consultants who know "best practices" and move from one project to the next. Some of these projects barely resemble Rails anymore.
It's led me to ask the question "If Rails isn't good enough, then why are you using it?"