Think Like a Programmer: An Introduction to Creative Problem Solving (Paperback)
暫譯: 像程式設計師一樣思考:創造性問題解決入門 (平裝本)

V. Anton Spraul

買這商品的人也買了...

商品描述

The real challenge of programming isn't learning a language's syntax—it's learning to creatively solve problems so you can build something great. In this one-of-a-kind text, author V. Anton Spraul breaks down the ways that programmers solve problems and teaches you what other introductory books often ignore: how to Think Like a Programmer. Each chapter tackles a single programming concept, like classes, pointers, and recursion, and open-ended exercises throughout challenge you to apply your knowledge. You'll also learn how to:

  • Split problems into discrete components to make them easier to solve
  • Make the most of code reuse with functions, classes, and libraries
  • Pick the perfect data structure for a particular job
  • Master more advanced programming tools like recursion and dynamic memory
  • Organize your thoughts and develop strategies to tackle particular types of problems

Although the book's examples are written in C++, the creative problem-solving concepts they illustrate go beyond any particular language; in fact, they often reach outside the realm of computer science. As the most skillful programmers know, writing great code is a creative art—and the first step in creating your masterpiece is learning to Think Like a Programmer.

商品描述(中文翻譯)


程式設計的真正挑戰不在於學習語言的語法,而在於學會創造性地解決問題,以便能夠構建出偉大的東西。在這本獨特的書中,作者 V. Anton Spraul 分析了程式設計師解決問題的方式,並教導你其他入門書籍常常忽略的內容:如何像程式設計師一樣思考。每一章都針對一個單一的程式設計概念,例如類別、指標和遞迴,並且在整本書中提供開放式練習,挑戰你應用所學知識。你還將學會如何:


  • 將問題拆分為離散的組件,以便更容易解決

  • 利用函數、類別和庫來最大化代碼重用

  • 為特定任務選擇完美的資料結構

  • 掌握更高級的程式設計工具,如遞迴和動態記憶體

  • 組織你的思維並發展策略來解決特定類型的問題

雖然書中的範例是用 C++ 編寫的,但它們所闡述的創造性問題解決概念超越了任何特定語言;事實上,它們經常超出計算機科學的範疇。正如最熟練的程式設計師所知,編寫優秀的代碼是一種創造性的藝術,而創造你傑作的第一步是學會像程式設計師一樣思考