Wednesday, July 2, 2008

Stupid C Book

This is a direct quote from the textbook for my C programming class:
Most programming languages have three strateges for inter-function communication: pass by value, pass by reference, and return.  The C language, unfortunately, uses only the first and last strategies; there is no pass by reference in C. (Computer Science: A Structured Programming Approach Using C 3rd ed. pg. 176)
I just do not know where these people get off.  If passing a pointer isn't pass by reference, I don't quite know what is.  This is all completely insane!  Thank god I'm heading off for Portola in 30 hours.

All I'm going to say is that this programming class is a very good lesson in how to keep my mouth shut.

No comments:

Post a Comment