about | join |
login
6%

To teach computer programming,
a professor ought to stride into the room on the semester’s first day,
explain that a computer program is a text file
full of instructions for the computer to follow,
and then proceed to check out an example from version control.
His desktop should be displayed on a big screen in front of the class.
He should read through the example program with them, discuss it —
it should be a Python program that does something requiring two or three
dozen lines,
like opening a window and displaying the message, “Hello, world!” —
and then run it.
He should demonstrate how to edit the program
so that it prints something else instead (perhaps “Hello, professor!”),
run the altered version for them,
and, finally, check the modified program into version control.
source...
posted 3 months ago in programming, science2 views | 2 jaas | reply )

about | blog | faq | privacy

© 2008 jaanix, inc.