News for hackers. Stuff that matters.
Re:The Shapes of Code by ipnon on Tuesday January 28, 2020 @08:56AM (#22169351)
The code that is easiest to revisit is decomposed into separate functions that are each trivial to understand. They are used to compose similarly trivial functions, and so on. Ideally every point of your program from input to output can be understood clearly and immediately.
Re:The Shapes of Code by 0x445442 on Tuesday January 28, 2020 @09:05AM (#22169428)
Makes the test a hell of a lot easier and more robust as well.