3 ms·
I stopped reading after the very first rule: Any one function (or method) will contain no more than 200 logical source lines of code. Seriously?
by fbomb 12y ago
I stopped reading after the very first rule: Any one function (or method) will contain no more than 200 logical source lines of code. Seriously?
- mercurial 12y agoWhat of it? It's a lot of code, but it's C. Simple things usually take more lines than in higher-level languages.
- fbomb 12y agoNo. Actually it's C++. A very different language.
- mercurial 12y agoTrue enough, but in any case, C++ is still fairly noisy.
- exelius 12y agoC++ is also not Java. When you're working with low-level hardware on real-time systems, C++ ends up looking a lot like C. Besides, most commercial applications of C++ tend to devolve into "C with objects." IMO this is because well-written blocks of C are actually very readable, and you're a lot more likely to mess up memory management when you start passing data around just to break up large code blocks. The whole reason Java has garbage collection and only one way to pass objects is because they help write more readable code.