Hacker News new | ask | show | jobs
by julie1 3733 days ago
8 in C if the lead says 8 because in C you want people to limit the cyclotymic complexity of their code. C is hard to read.

4 in C when I code for fun or the lead says 4.

In fact 4 is a pretty decent visual aid and not to big for my use of 80 car/lines 25lines max per functions/method that I respect religiously and loosely) since 1998. I think being able to see the whole code without scrolling on a VT is kind of preparing yourself for the worst case (debuging in prod with vi/emacs or notepad) where attention is the key point under stress. Prepare yourself for the worst, the worst may happen.

In python, well, I pray that the lead does not mix tabs and space. Because, what a beautiful idea to have made indistinguishable characters significant. That is one of my huge beef with python as well as the inability to control the scope of variables (hence preventing strictures).

So I have strong opinions, but the lead wins when the lead is a benevolent dictator that proved to be right very often (like linus, theo, guido...).

The one who lead the project to its success makes the rules and as long as the project is going a way I like, I follow the guidelines happily.

1 comments

"Now, some people will claim that having 8-character indentations makes the code move too far to the right, and makes it hard to read on a 80-character terminal screen. The answer to that is that if you need more than 3 levels of indentation, you're screwed anyway, and should fix your program." --Linus Torvalds