A very interesting article with this title appeared in IEEE Security & Privacy, September/October 2005 (Vol. 3, No. 5) pp. 54-56. It says:
The function of academia is not to teach programming techniques, but to teach concepts, principles, and methods of thinking that students can apply to new situations. As the discipline of computer science matures, the ability to write secure code should be considered as fundamental to a university computer science undergraduate as basic literacy.
You can read full article on IEEE Computer Society Digital Library web site (here, it requires subscription).
Info for citation: Matt Bishop, Deborah A. Frincke. “Teaching Secure Programming,” IEEE Security and Privacy, vol. 03, no. 5, pp. 54-56, September/October, 2005.