Yes I do, why use 7 lines of code (you missed bits 6 & 4) to write something when one line works as well if not better.
...
Why not use 7 lines of code? Is that bad? Assembler is always very vertical by its nature. Did you come from a C background or an assembler background? I've seen some bad C code (often written by young guys) where they try to put everything on one line.
In PIC C code especially it's my preference to write very vertically, this has benefits in converting to other languages or assembler and in being able to cross-check the C code to the assembler output (to improve performance). I don't see anything as "bad" by using more lines, and there are definite payoffs to using more lines.
I haven't read "Code Complete by Steve Maconnell" but if he has a generalisation that using less lines in source is better than more lines I think he has it backwards. When I started coding many years back I tried to (and did) use less lines. Now I'm a heck of a lot better and use a lot more lines.
As for commenting, I hate seeing things like,
Code:
movlw 8 ;load w with 8
movwf v ;put in v
l2 bsf PORTB,2 ;set clock pin
I agree no problem, it's much better to use good variable and label/function names etc, and is really an art.
However I still don't see the problem with additional comments. Much of the code I release has been simplified and over-commented for beginner use, but there is no cost to an expert who reads that code he can just ignore the extra commenting. It's like buying a prduct that has a really complete instruction manual compared to a one-page chinese translation. Nobody complains that the instruction manual was too big and too good.
Like you I use less commenting in private code but I suspect I still use a lot more commenting than you. Often I write the program out in comments (liek a flowchart etc) until it is debugged procedurally in my head, then I just type in the code part later (and it works, usually with no bugs). I take longer to write code, but do very little debugging. There's no cost to me (or to others) that it may have superfluous looking comments or be a bit vertical in nature after it is finished.
I've worked with a young Uni-trained programmer that loved writing very horizontal code, where one C line might do 20 things (and with little to no commenting). Getting his code to work was horrendous. If that C line was written as 10 vertical lines with some comments not only is it easier to understand what is happening and in what order, but any line can be commented out in a second for testing and debugging and even adapting (cut and paste) to be used elsewhere. By the time we had been working together for a year his code was a LOT more vertical and better commented, and he was a much better coder than he was from only the Uni training.