Hide details
Declare local data and clarify precondition and postcondition
If parameters exceed 5, they will be allocated on the stack instead of Register, so it's better to keep them under 5 (64bit)
Function Programming Notion
Functions
Push Conditional Programming up and Loop Programming down
This can result in fewer checks overall, centralizing control flow in a single function, and making it easier to notice redundancies and dead conditions for code quality and performance