Hi Ned,
> I'm curious why you care about the "79 characters" part of PEP8 if you don't
> care about the "use spaces" part of PEP8.
It's just that I don't like arbitrary rules. IMHO, spaces aren't
"better than" tabs, and people should refrain from saying that. Both
have their fair bit of disadvan
My understanding from talking to different people is that many do use
tabs (instead of spaces) for indentation in their code.
My question is to them (because I want to use tabs too) is: how do you
maintain a line-length of 79 characters?
E.g. scenario: The tab setting in your editor could be 2 or
Hello Ned, I didn't notice that he was using tabs more than as needed for
indentation. Guess I trusted the wrong guy. :P Anyway, it's one more thing
to keep in mind. G!
--
Aahan Krish
--
https://mail.python.org/mailman/listinfo/python-list
Hello Ned,
I thought that the use of tabs and spaces in the manner I suggested is
pretty common. Linux Kernel follows the same technique, for example:
https://github.com/torvalds/linux/blob/master/kernel/async.c#L100
Of course, I understand the gist of what you are saying—if people don't
understa
Hello Ian,
So, wrt Q2, what you are saying is, the following would cause issues in
Python 3?
int f(int x,
..int y) {
--->return g(x,
--->.y);
}
Where:
---> for tabs (used for indentation)
for spaces (used for alignment)
Best
Aahan
--
https://mail.python.o
I have two general questions regarding Python that I couldn't find any good
answers for. This is not the often-asked Tabs vs Spaces question, so kindly
read it in whole.
*Q1.* This is not to debate the decision, but I really wanted to know the
reason why PEP 8 chose to go with spaces instead of ta
ld be
awesome. I am gonna try it this weekend.
Appreciated
Krish
--
http://mail.python.org/mailman/listinfo/python-list
consolidate the whole information. If anyone has done this
kinda stuff before or if anyone can point me to a correct/better way,
it would be really great.
Regards
Krish Subramaniam
--
http://mail.python.org/mailman/listinfo/python-list