You’re making a basic assumption that your design has sufficient detail to produce the program. The problem with this idea is your moving programming to the design phase (using pseudo code) but you’re not eliminating the act of programming.
AKA, I need a function called add that adds each element in an array and returns the result.
Now what data type is in that array? What should you return if the array is empty or null? etc.
AKA, I need a function called add that adds each element in an array and returns the result.
Now what data type is in that array? What should you return if the array is empty or null? etc.