Avoiding Code Duplication as a General Principle of Computing Languages

Mark notes in the same article:

    Programming languages are chock-full of features designed to 
    prevent code duplication from the very lowest levels (features such 
    as $a[3] += $b instead of $a[3] = $a[3] + $b) to the very highest 
    (features such as DLLs and pipes).  In between are essential 
    features such as subroutines and modules.

In this class, we focus on using subroutines and modules to eliminate repeated code.

Previous Back to start of show Next
Slide: 5 MJD_q2 © 2003 James E. Keenan