News for hackers. Stuff that matters.
Re:The Power of Ten – Rules for Developing Safety Critical Code by acveilleux on Thursday July 14, 2016 @03:15PM (#12096482)
It's very hard to formulate a clear and easily enforced rule that restricts complexity. No large function is one way to do it.

Really long functions that have very low complexity (very few nested control structures, ideally none) and do not contain any loops that aren't trivial are easy to reason with. They are essentially the one case I'm familiar with where longer is not worse after a point.

There are no comments on this comment yet.