1 / 16

Educating Programmers: A C ustomer P erspective

Educating Programmers: A C ustomer P erspective. Alexander Stepanov A9.com Workshop on Quality Software: A Festschrift for Bjarne Stroustrup Texas A&M University, April 27-28, 2012 . Abstract.

gareth
Download Presentation

Educating Programmers: A C ustomer P erspective

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Educating Programmers: A Customer Perspective Alexander Stepanov A9.com Workshop on Quality Software: A Festschrift for BjarneStroustrup Texas A&M University, April 27-28, 2012

  2. Abstract Many programmers lack the skills required for producing quality software. Programming must be taught as a serious discipline, with an extensive core curriculum covering such topics as system decomposition and component design. Developing a sense of programming aesthetics, including the study of real world examples of beautiful programs, is at the heart of this discipline. Grounding in elementary mathematics (algebra and Euclidean geometry) provides the necessary intellectual and aesthetic foundation for the curriculum.

  3. Background For the last 17 years I have been trying to improve software quality at several companies: • Silicon Graphics • Adobe • A9.com All leading-edge companies, employing graduates of leading universities. I worked with different teams, studied their code, and taught advanced classes.

  4. Observation • Everybody works as a programmer. • Nobody really knows how to program. • The idea that there is something more to learn does not even cross their minds. • If they want to learn, it is a new language or a new tool: Java, Hadoop, Squid, etc.

  5. Good code • Useful interface, efficient implementation, pleasure to read • Yes, it should be enjoyable to read code • If X is original development time • Takes very little time (< 1% X) to learn to use • Takes little time (< 10% X) to extend and modify • Good is beautiful, beautiful is good

  6. Beautiful Code is for Toy Examples Only? “Real programs are always ugly...” – a well-known computer scientist and textbook author

  7. Fundamental Programming Skills • Architect systems from components • Design correct, consistent, extensible APIs • Recognize known abstractions • Know how and when to make code efficient

  8. Computer Science for Programmers • Computer Architecture • characteristics of CPUs, not their design • Compiler • understanding its limitations • utilizing its features • OS • using threads, not writing schedulers • Databases • how and when to use SQL, not design relational DB

  9. What about Programming? • Today only introductory programming is taught. • No real programs are studied. • Testing and measurement techniques are not taught. What should be done?

  10. A Programming Curriculum • Introductory programming • Control structures and basic data structures • Intermediate programming • Using advanced components and tuning them • Advanced programming • Designing new components • Master class • Building a system out of components

  11. Writing • A class where programmers are taught to describe software. • A programmer must be able to communicate their design to others.

  12. Programming in Academia • Programming should be taught by people who know and love programming and have done it for a living • Nemo dat quod non habet • Music departments

  13. An Internet Journal of Programming • To publish refereed • components • measurements • validation • testimonials • use cases

  14. Grounding in Mathematics • Mathematics has served every scientific and engineering discipline for many centuries. • Mathematics is the science of the abstract. • Rich mathematical heritage helps to develop programming aesthetics.

  15. Which Mathematics? • Elementary Algebra • Scope of George Chrystal • e.g., continued fractions, Bernoulli numbers, etc. • supplemented with a little abstract algebra • Develops symbol manipulation and abstraction ability • Euclidean Geometry • Euclid is still the best • coherent story from book I to book XIII • Develops architectural and reasoning ability

  16. Conclusion: Programming Aesthetics • Sense of beauty is important for building large systems and controlling complexity. • Study of mathematics develops this sense.

More Related