> Now that I've given you something of value, why in gods name would you
> want to? BSD/Allman Style is so much more legible for most code than
> K&R/Kernel Style.
I prefer my opening braces on the same line as the statement they are connected
with, too. Mostly this is because I don't like straining my eyes (which are
impaired to start with), and thus like a large font (my 80x25 terminal window
almost fills my screen), and thus like my code to be as dense as possible, so I
can see a good chunk of it on the screen at once. I also prefer hard tabs 3
characters apart, though tend to expand them when sharing my code, for obvious
reasons. My code very rarely contains blank lines within functions, and often
not
between them either. I'm sure a lot of people would find my code looks cramped
and
feels stifling to move around it. For me, it is functional, and spaced out code
feels daunting. If you looked at my personal code you would find all kinds of
space-efficient styles such as
if (something) {
do_something_complicated();
} else set_a_simple_default();
if (some_operation_fails())
{ do_some_finalisation(); call_an_error_handler(); }
Smiles,
Ben.
Send instant messages to your online friends http://au.messenger.yahoo.com
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---