Linus 有没有内涵 C++ 的类设计?
感觉类里做点啥,就可能超过 3 层缩进。
【 在 ToSimplicity 的大作中提到: 】
: "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 screw
: ed anyway, and should fix your program."
: - Linus Torvalds, Linux kernel coding style
: ...................
--
FROM 36.156.86.*