Assignment 4 CSCI 5535
Due date: October 30th 5:00 p.m. (November 6th 5:00 p.m. for CATECS
students)
The SML tutorial by Robert Harper describes
the support in SML for programming in the large. Compare and contrast
functors in SML with templates in C++. Discuss
the advantages and disadvantages of SML and C++'s approaches. Restrict
your answer to 1 typed page.
Additional resources: The interesting links section of
the course web page has links to the full SML tutorial and the C++ language
definition. If you are not familiar with templates you should be
able to read up on them in any C++ book or in the C++ language definition
available from the class web page.