词条 | How to Design Programs |
释义 |
| name = How to Design Programs | image = How to Design Programs (front cover).jpg | caption = | author = Matthias Felleisen, Robert Bruce Findler, Matthew Flatt, Shriram Krishnamurthi | cover_artist = | country = United States | subject = Computer programming | genre = Textbook | publisher = MIT Press | pub_date = February 12, 2001 | media_type = print | pages = 720 | isbn = 0-262-06218-6 | oclc = | dewey = | congress = QA76.6 .H697 2001 }} How to Design Programs (HtDP) is a textbook by Matthias Felleisen, Robert Bruce Findler, Matthew Flatt and Shriram Krishnamurthi on the systematic design of computer programs first published in 2001 by MIT Press. The second edition of the text, published in 2018, is also freely available online and in print. The book introduces the concept of a design recipe, a six-step process for creating programs from the problem statement. While the book was originally used in conjunction with the TeachScheme! project (now ProgramByDesign), it has been adopted at a number of colleges and universities for the teaching of program design principles. According to HtDP, the design process starts with a careful analysis of the problem statement with the goal of extracting a rigorous description of the kinds of data that the desired program consumes and produces. The structure of these data descriptions determines the organization of the program. The book therefore carefully introduces more and more complex kinds of data, which sets it apart from every other introductory programming book. It starts from atomic forms of data and then progresses to compound forms of data, including data that can be arbitrarily large. For each kind of data definition, the book explains how to organize the program in principle, thus enabling a programmer who encounters a new form of data to still construct a program systematically. Like Structure and Interpretation of Computer Programs (SICP), HtDP relies on a variant of the Scheme programming language. Indeed, it comes with its own programming environment, dubbed DrRacket, which provides a series of programming languages. The first language supports only functions, atomic data and simple structures. Each language adds expressive power to the previous one. With the exception of the largest teaching language, all languages for HtDP are functional programming languages. In the 2004 paper The Structure and Interpretation of the Computer Science Curriculum,[1] the authors distinguish the pedagogical focus of HtDP from that of SICP, and show how HtDP was designed as a textbook to address certain issues that some students and teachers had with SICP. Use in postsecondary educationA number of colleges and schools have used HtDP in their classes, including the following:
References1. ^{{Citation| url = http://www.ccs.neu.edu/scheme/pubs/jfp2004-fffk.pdf| title = The Structure and Interpretation of the Computer Science Curriculum| year = 2004| publisher = NEU| format = PDF| deadurl = no| archiveurl = https://web.archive.org/web/20080511171056/http://www.ccs.neu.edu/scheme/pubs/jfp2004-fffk.pdf| archivedate = May 11, 2008| df =}}, a paper in which the authors compare and contrast HtDP with SICP. External links
3 : 2001 non-fiction books|Computer science books|MIT Press books |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。