Functional Design: Principles, Patterns, and Practices (Paperback)

Robert C. Martin

  • 出版商: Addison Wesley
  • 出版日期: 2023-09-21
  • 售價: $1,800
  • 貴賓價: 9.5$1,710
  • 語言: 英文
  • 頁數: 384
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 0138176396
  • ISBN-13: 9780138176396
  • 相關分類: JVM 語言Java 程式語言軟體工程
  • 立即出貨

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

商品描述

A Practical Guide to Better, Cleaner Code with Functional Programming

In Functional Design, renowned software engineer Robert C. Martin ("Uncle Bob") explains how and why to use functional programming to build better systems for real customers. Martin compares conventional object-oriented coding structures in Java to those enabled by functional languages, identifies the best roles for each, and shows how to build better systems by judiciously using them in context.

Martin's approach is pragmatic, minimizing theory in favor of "in the-trenches" problem-solving. Through accessible examples, working developers will discover how the easy-to-learn, semantically rich Clojure language can help them improve code cleanliness, design, discipline, and outcomes. Martin examines well-known SOLID principles and Gang of Four Design Patterns from a functional perspective, revealing why patterns remain extremely valuable to functional programmers, and how to use them to achieve superior results.

  • Understand functional basics: immutability, persistent data, recursion, iteration, laziness, and statefulness
  • Contrast functional and object approaches through expertly crafted case studies
  • Explore functional design techniques for data flow
  • Use classic SOLID principles to write better Clojure code
  • Master pragmatic approaches to functional testing, GUIs, and concurrency
  • Make the most of design patterns in functional environments
  • Walk through building an enterprise-class Clojure application

"Functional Design exudes 'classic-on-arrival'. Bob pulls back the curtain to reveal how functional programming elements make software design simple yet pragmatic. He does so without alienating experienced object-oriented programmers coming from languages like C#, C++, or Java."
--Janet A. Carr, Independent Clojure Consultant

Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

商品描述(中文翻譯)

《實用指南:使用函數式編程改善、整潔程式碼》

在《函數式設計》一書中,著名軟體工程師羅伯特·C·馬丁(叔叔鮑伯)解釋了如何以函數式編程來建構更好的系統,以滿足真實客戶的需求。馬丁將傳統的面向對象編程結構(如Java)與函數式語言進行了比較,指出了它們各自的優勢,並展示了如何在特定情境下巧妙地運用它們來建構更好的系統。

馬丁的方法是實用主義的,他將理論最小化,更注重解決實際問題。通過易於理解的例子,開發人員將發現易於學習、語義豐富的Clojure語言如何幫助他們提高程式碼的整潔度、設計、紀律和成果。馬丁從函數式的角度檢視了著名的SOLID原則和四人幫設計模式,揭示了為什麼這些模式對於函數式程式設計師依然非常有價值,以及如何使用它們來獲得更優秀的結果。

本書內容包括:
- 理解函數式基礎知識:不可變性、持久化數據、遞歸、迭代、惰性和狀態性
- 通過精心設計的案例研究對比函數式和面向對象的方法
- 探索數據流的函數式設計技巧
- 使用經典的SOLID原則來撰寫更好的Clojure程式碼
- 掌握實用的函數式測試、GUI和並發技巧
- 在函數式環境中充分利用設計模式
- 逐步構建一個企業級Clojure應用程式

評論中寫道:《函數式設計》是一本經典之作。鮑伯揭示了函數式編程元素如何使軟體設計變得簡單而實用。他這樣做的同時,並不會讓那些從C#、C++或Java等語言轉來的有經驗的面向對象程式設計師感到陌生。

(評論者:珍妮特·A·卡爾,獨立Clojure顧問)

請在書中內部查看詳細資訊,以便註冊您的書籍,以便方便地獲取下載、更新和/或更正資訊。

作者簡介

Robert C. Martin ("Uncle Bob") wrote his first line of code at the age of 12 in 1964 and has been employed as a programmer since 1970. He is cofounder of cleancoders.com, offering online video training for software developers, and is founder of Uncle Bob Consulting LLC, offering software consulting, training, and skill development services to major corporations worldwide. He served as the Master Craftsman at 8th Light, Inc., a Chicago-based software consulting firm. Mr. Martin has published dozens of articles in various trade journals, authored many books, and is a regular speaker at international conferences and trade shows.

作者簡介(中文翻譯)

Robert C. Martin(暱稱Uncle Bob)在1964年12歲時寫下了他的第一行程式碼,自1970年以來一直從事程式設計師的工作。他是cleancoders.com的共同創辦人,該網站提供軟體開發者的線上視訊培訓,並且是Uncle Bob Consulting LLC的創辦人,該公司為全球主要企業提供軟體諮詢、培訓和技能發展服務。他曾擔任芝加哥軟體諮詢公司8th Light, Inc.的首席工匠。Martin先生在各種專業期刊上發表了數十篇文章,撰寫了許多書籍,並經常在國際會議和貿易展覽上演講。