3 ms·
No one really comments like that , its unnecessary and if it causes problems then a simpler form should be used. I comment like this. It's also not hard to do
by jrockway 17y ago
No one really comments like that , its unnecessary and if it causes problems then a simpler form should be used.
I comment like this. It's also not hard to do. You type something like:
some line of code ; here is my comment, blah blah blah, very long, blah blah blah
Then press M-q ("fill-paragraph"), and Emacs turns it into:
some line of code ; here is my comment, blah blah
; blah, very long, blah blah blah
Sometimes this looks nicer than:
;; here is my comment, blah blah blah, very long,
;; blah blah blah
some line of code
Anyway, both styles are quite common.
"Or consider someone who is on an 80x25 terminal"... ok now where are just getting silly.
I always consider people on 80 column terminals, because although I have a huge monitor, I would like to display more than one file at a time. Aiming for 80 columns means that you appeal to the "lowest common denominator" and it means that you can have lots of files within easy visual reach. (I actually end up near 90 at home and 85 at work... but I try not to exceed 78 too often.)
- Dobbs 17y agoThose that are curious "gq" does the same thing on vim. Use ":set tw=<number of columns>" to tell vim the maximum number of columns (80 by default)