Formal Methods, Informally: How to Write Programs That Work
暫譯: 非正式的形式方法:如何編寫有效的程式

Morgan, Carroll

  • 出版商: Cambridge
  • 出版日期: 2026-02-19
  • 售價: $4,000
  • 貴賓價: 9.5$3,800
  • 語言: 英文
  • 頁數: 374
  • 裝訂: Hardcover - also called cloth, retail trade, or trade
  • ISBN: 1009420992
  • ISBN-13: 9781009420990
  • 相關分類: Algorithms-data-structures
  • 尚未上市,無法訂購

商品描述

Learn to program more effectively, faster, with better results... and enjoy both the learning experience and the benefits it ultimately brings. This undergraduate-level textbook is motivated by Formal Methods, encouraging habits that lead to correct and concise computer programs; but its informal approach sidesteps reliance on Formal Logic that programmers are sometimes led to believe is required. Instead, a straightforward and intuitive use of simple 'What's true here' comments encourages precision of thought without prescription of notation. Drawing on decades of the author's experience in teaching/industry, the text's careful presentation concentrates on key principles of structuring and reasoning about programs, applying them first to small, understandable algorithms. Then students can concentrate on turning those reliably into their corresponding -and correct- program source-codes. The text includes over 200 exercises, with full solutions available online for instructors' use, plus mini-projects and automated quizzes to support instructors in building their own courses.

商品描述(中文翻譯)

學習更有效率、更快速地編程,並獲得更好的結果……同時享受學習過程及其最終帶來的好處。本書是一本本科級別的教科書,受到形式方法(Formal Methods)的啟發,鼓勵養成導致正確且簡潔的電腦程式的習慣;但其非正式的方式避免了對形式邏輯的依賴,這是程式設計師有時會被引導認為是必需的。相反,簡單直觀的「這裡的真相是什麼」註解的使用鼓勵了思考的精確性,而不強制使用特定的符號。這本書基於作者數十年的教學和業界經驗,仔細呈現了結構化和推理程式的關鍵原則,首先將其應用於小型且易於理解的演算法。然後,學生可以專注於將這些演算法可靠地轉換為相應的——且正確的——程式源碼。本書包含超過200個練習題,並提供完整的解答供教師使用,還有迷你專案和自動化測驗,以支持教師建立自己的課程。