PDA

View Full Version : *Sigh* Program Logic



VisiV
09-20-2005, 09:09 AM
Hooray for Evaluating Boolean Expressions. :slash: This stuff is getting monotinous.... Flowcharting, Print Charting, Pseudocoding... and this is just the begginning. :explode:

Black Hat
09-23-2005, 05:45 AM
Hooray for Evaluating Boolean Expressions. :slash: This stuff is getting monotinous.... Flowcharting, Print Charting, Pseudocoding... and this is just the begginning. :explode:


Wait until they start making you derive and find the "order" for the algorithms you come up with for programming projects. And you thought pseucoding was bad.

eshbach
09-24-2005, 12:29 PM
Wait until they start making you derive and find the "order" for the algorithms you come up with for programming projects. And you thought pseucoding was bad.

oh come on, you didn't enjoy stepping through every assignment, call, operation, compare, loop, and every other minute detail to decide that your code was O(nlogn) and that you had to redo it because the requirement was O(logn) or better?

Black Hat
09-24-2005, 01:09 PM
oh come on, you didn't enjoy stepping through every assignment, call, operation, compare, loop, and every other minute detail to decide that your code was O(nlogn) and that you had to redo it because the requirement was O(logn) or better?



LOL! You have obviously seen the dark side of the force...up close and personal.

How about writing your algorithm, calculating Big Oh, thinking the "cost" of its runtime is to high.... running O(n^2) and needed O(n), rewriting the algorithm, and now its running O(n!)....err. Then after many adult beverages you realize you made a calculation error to begin with and your original algorithm was correct. Done that recently.