Re:Step by step from jQuery to Backbone
by berntb on Monday January 28, 2013 @03:41PM
(#5130519)
>>Method length should be 1 to 3 lines.
I've read that claim. The only time I really had to work with code like that was horrible.
It was like a book where the sentences were in random order, with the next sentence number appended, so you would have to browse to another page every few words. :-(
The context switches didn't make me productive... Sometimes, I had to look 3-4 levels up or down in the hierarchy to find a parameter type (this was in a scripting language). If anyone talked to me, it took a looong time to rebuild the model in my head.
I've read that claim. The only time I really had to work with code like that was horrible.
It was like a book where the sentences were in random order, with the next sentence number appended, so you would have to browse to another page every few words. :-(
The context switches didn't make me productive... Sometimes, I had to look 3-4 levels up or down in the hierarchy to find a parameter type (this was in a scripting language). If anyone talked to me, it took a looong time to rebuild the model in my head.
Edit: In short, grandparent++.