News for hackers. Stuff that matters.
Re:Rules for Developing Safety-Critical Code (2006) [pdf] by pnako on Friday October 18, 2019 @10:09AM (#21291473)
In the Joint Strike Fighter (i.e. F-35) C++ Coding Standards, the limit is 200 lines. But there is also a limit on the cyclomatic complexity number (20 or less), such that you can either have 200 simples line, or a shorter function that is more complex.

You want something that allows you to implement the smallest unit of complexity without having to artificially breaking it down. If you implement a FFT with just 5-line functions, the result is probably going to be more messy than if you did with less restrictive requirements.

Re:Rules for Developing Safety-Critical Code (2006) [pdf] by zwieback on Friday October 18, 2019 @11:07AM (#21292001)
More messy and with terrible performance.
Re:Rules for Developing Safety-Critical Code (2006) [pdf] by LadyCailin on Friday October 18, 2019 @07:18PM (#21295828)
Not necessarily, if your compiler is smart about inlining. Reading stack traces is an entirely different story, however.