DOC PREVIEW
UW CSE 303 - Lecture Notes

This preview shows page 1 out of 3 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 3 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 3 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

'&$%CSE 303:Concepts and Tools for Software DevelopmentDan GrossmanSpring 2005Lecture 22— Generics, function pointers, void*Dan Grossman CSE303 Spring 2005, Lecture 22 1'&$%Where are WeWhat I thought today was: version-control, e.g., cvsWhat we better do based on questions: interfaces, generics,function-pointers, void*, passing pointers (to pointers).A “new” approach: Analogous code in Java and C, starting with Java.Dan Grossman CSE303 Spring 2005, Lecture 22 2'&$%Very-High-Level Points• Flexible “interfaces” often involve function-pointers.– You need “environments” so the function-pointers can havethe data they need.• Object and void* are analogous– And poor substitutes for type variables (Java 1.5) or arguablytemplates (C++) bec ause you have to cast a lot.• Homework 5/6 has one technique not in the example: functionpointers that mutate their environment to “remembe r where theyare”.Dan Grossman CSE303 Spring 2005, Lecture 22


View Full Document

UW CSE 303 - Lecture Notes

Documents in this Course
Profiling

Profiling

11 pages

Profiling

Profiling

22 pages

Profiling

Profiling

11 pages

Testing

Testing

12 pages

Load more
Download Lecture Notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture Notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture Notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?