How to Design Programs, Second Edition: An Introduction to Programming and Computing
دورههای رایج برنامه نویسی، رویکرد «سرهم بندی کن تا وقتی که کار میکند» را آموزش میدهند. هنگامی که کار میکند، دانشجویان فریاد میزنند که «کار میکنه!» و ادامه میدهند. متاسفانه، این عبارت کوتاهترین دروغ در کامپیوتر نیز است و ساعتهای زیادی از عمر آدمها را صرف خود کرده است. در مقابل، کتاب نحوه طراحی برنامه ها، بر روی عادتهای خوب برنامه نویسی کردن تمرکز کرده است که برنامه نویسان فنی و حرفه ای را مخاطب قرار داده است.
This introduction to programming places computer science at the core of a liberal arts education. Unlike other introductory books, it focuses on the program design process, presenting program design guidelines that show the reader how to analyze a problem statement, how to formulate concise goals, how to make up examples, how to develop an outline of the solution, how to finish the program, and how to test it. Because learning to design programs is about the study of principles and the acquisition of transferable skills, the text does not use an off-the-shelf industrial language but presents a tailor-made teaching language. For the same reason, it offers DrRacket, a programming environment for novices that supports playful, feedback-oriented learning. The environment grows with readers as they master the material in the book until it supports a full-fledged language for the whole spectrum of programming tasks.
This second edition has been completely revised. While the book continues to teach a systematic approach to program design, the second edition introduces different design recipes for interactive programs with graphical interfaces and batch programs. It also enriches its design recipes for functions with numerous new hints. Finally, the teaching languages and their IDE now come with support for images as plain values, testing, event-driven programming, and even distributed programming.