Not being a programmer, I have a question.
Can any program be broken down into functions and functions of functions that have inputs and outputs so that they can be verified if they are working?
replies(13):
Can any program be broken down into functions and functions of functions that have inputs and outputs so that they can be verified if they are working?
Outside of functional code, there's a lot out there which requires mutable state. This is much harder to test which is why user interface testing on native apps is always more painful and most people still run manual QA or use an entirely different testing approach.