On Jun 26, 11:34 am, Tim Johnson <[email protected]> wrote:
> * gary_p <[email protected]> [090626 06:26]:
>
> > I prefer:
>
> > my_function_call(
> > one,
> > two,
> > three
> > )
>
> > [ In a fixed width font the o, t, t, and ) all line up under the ( ]
>
> I've been coding in python using vim for 9 years. I've never used
> that approach. Frankly I would hate it and so would many of my
> fellow pythonistas and pythonistos. I'm sure it could be done,
> I just wonder if such a style would introduce confusion, code
> breakage. Plus push code rightwise, which might be okay on a
> 23-inch widescreen (such as I have) but bad on a netbook, which
> I sometimes code on.
> MTCW
It certainly doesn't break anything. It does sometimes push things
too far to the right on my 14 inch notebook. But in the absence of a
strong preference (I don't have a strong preference, but I do think my
way is easier to read ... very personal opionion) I'll go with Guido's
style recommendation, which is to line up continuation lines under the
"(". But python explicitly leaves the choice to the author.
>
> --
> Tim
> [email protected]http://www.akwebsoft.com
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---