Practical Programming
暫譯: 實用程式設計
Zinoviev, Dmitry, Gries, Paul, Campbell, Jennifer
- 出版商: Pragmatic Bookshelf
- 出版日期: 2026-06-30
- 售價: $2,780
- 貴賓價: 9.5 折 $2,641
- 語言: 英文
- 頁數: 400
- 裝訂: Quality Paper - also called trade paper
- ISBN: 9798888652046
- ISBN-13: 9798888652046
-
相關分類:
Python
海外代購書籍(需單獨結帳)
商品描述
Learn about design, algorithms, testing, and debugging. Discover the fundamentals of programming with Python: a language that's used across industries and platforms. Write programs to solve real-world problems, and come away with everything you need to produce quality code. This edition has been updated to use the new language features in Python 3.14.
No programming experience required! Incremental examples show you the steps and missteps that happen while developing programs, so you know what to expect when you tackle a problem on your own. Inspired by "How to Design Programs" (HtDP), discover a five-step recipe for designing functions, which helps you learn the concepts--and becomes an integral part of writing programs.
In this detailed introduction to Python and to computer programming, find out exactly what happens when your programs are executed. Work with numbers, text, sequences, and files using real-world examples. Create and use your own data types. Make your programs robust and reliable; develop an idiomatic programming style; download data from the web automatically. As you use the fundamental programming tools in this book, you'll see how to document and organize your code so that you and other programmers can more easily read and understand it. This new edition takes advantage of Python 3.14's new features, including f-strings, the walrus operator, and richer type annotations on parameters, return types, and variable declarations.
Most importantly, you'll learn how to think like a professional programmer.
商品描述(中文翻譯)
經過幾代學生的課堂測試,這本受歡迎的程式設計入門書籍的新版本適合任何想要理解計算機科學的人。
了解設計、演算法、測試和除錯。探索使用 Python 的程式設計基礎:這是一種在各行各業和平台上廣泛使用的語言。編寫程式以解決現實世界中的問題,並掌握產出高品質程式碼所需的一切。本版本已更新以使用 Python 3.14 的新語言特性。
不需要程式設計經驗!逐步示例展示了在開發程式時發生的步驟和失誤,讓你知道在獨自解決問題時該期待什麼。受到《如何設計程式》(How to Design Programs, HtDP)的啟發,發現設計函數的五步驟食譜,這有助於你學習概念,並成為編寫程式的重要組成部分。
在這本詳細介紹 Python 和計算機程式設計的書中,了解當你的程式執行時究竟發生了什麼。使用現實世界的例子處理數字、文本、序列和檔案。創建並使用你自己的數據類型。使你的程式健壯且可靠;發展一種慣用的程式設計風格;自動從網路下載數據。當你使用本書中的基本程式設計工具時,你將學會如何記錄和組織你的程式碼,以便你和其他程式設計師能更輕鬆地閱讀和理解它。本新版本利用了 Python 3.14 的新特性,包括 f-strings、海象運算子以及對參數、返回類型和變數聲明的更豐富的類型註解。
最重要的是,你將學會如何像專業程式設計師一樣思考。