7D8
In Runtime
- Messages
- 209
pseudo code is good. I personally don't use it, I like to just think of the problem abstractly then pin point a starting point and start test coding. Then I get to a point where I can say that I'm going to go down a certain path, and I either go back fix and comment my test code, or I keep rolling depending on the quality of the test code. A LOT of programmers do say to use pseudo code. Although I must admit that I've never actually witnessed anyone use it with my own two eyes.
also, instead of just using variables like num1 and num2, use an array instead. That way you can later loop through the array and perform a whole assortment of calculations. I'm sure there are even libraries that will do the calculations for you, just have to shove them in a for loop and distinguish between which calculation you want.
also, instead of just using variables like num1 and num2, use an array instead. That way you can later loop through the array and perform a whole assortment of calculations. I'm sure there are even libraries that will do the calculations for you, just have to shove them in a for loop and distinguish between which calculation you want.