3.2 But how do we fit...

Not all algorithms can be specified in 20 lines or less. As a result, we need to ``abstract'' out chunks of code with ``abstract operations''. An ``abstract operation'' simply means ``we don't know/express how to do this exactly''. An abstract operation is one that is not composed of the basic types of statements (assignment, sequence, conditional statement or loops). This way, we can make algorithms appear shorter by hiding details.



Copyright © 2006-09-26 by Tak Auyeung