Sadly the length of lines is a poor measure of the nested-ness of a program, and sufficiently complex algorithms aren't always better broken into multiple parts, such as in cases where the loops are very tight and the function call overhead would be costly.
- Trevor On Wed, Aug 8, 2012 at 11:09 PM, Dmitriy Sintsov <ques...@rambler.ru> wrote: > > 8 Август 2012 г. 22:43:15 пользователь bawolff (bawolff...@gmail.com) >> написал: >> >> >> >> I use 8 :P >> >> (Seriously though, everything looks so crunched up with 4 space tab >> width... Makes me claustrophobic!) >> >> Tab 8 encourages to make less "structural nesting" like foreach( if ( > foreach ( if () ) ) ) in one method, because such lines would become too > long. Instead there will be large amount of smaller functions / methods. > But there should be the middle balance between "large method which does a > lot" and "lots of extremly tiny methods nested calls". Perhaps Tab 4, I do > not know. > > ______________________________**_________________ > Wikitech-l mailing list > Wikitech-l@lists.wikimedia.org > https://lists.wikimedia.org/**mailman/listinfo/wikitech-l<https://lists.wikimedia.org/mailman/listinfo/wikitech-l> > _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l