The talks was inspired by Joel Spolsky's article on The Law of Leaky Abstraction. Chad argues that you have to know what is going on "under rails" to write great code. So learn more Ruby! Chad was also inspired by Martin Fowler's keynote at 2006 Rail Conf. In the keynote he states that Rails continues the tradition of smalltalk where quick can be clean and it does not have to be dirty.
Chad organized his presentation into some opinionated suggestions and presented sample code to make his point:
- Controller only does CRUD methods
- No SQL in Controllers
- Limit Controllers to four lines
- Avoid duplication
- No code in your Views - make helpers to clean up
- Master Ruby
So a good meeting with links to even more.
No comments:
Post a Comment