罗伯特·C·马丁

罗伯特·C·马丁

Robert Cecil Martin
生卒
1952 –
国籍
美国
外文名
Robert Cecil Martin

照片:Angelacleancoder,CC BY-SA 4.0,来自维基共享资源「Robert C. Martin surrounded by computers.jpg」(经缩小)。

生平与创作

这个词条暂时没有中文维基百科条目,下面是英文维基百科的内容(英文原文):

Robert Cecil Martin (born 5 December 1952), colloquially called "Uncle Bob", is an American software engineer, instructor, and author. He is most recognized for promoting many software design principles and for being an author and signatory of the influential Agile Manifesto.

Martin has authored many books and magazine articles. He was the editor-in-chief of C++ Report magazine and served as the first chairman of the Agile Alliance.

Martin joined the software industry at age 17 and is self-taught.

Professional work

In 1991, Martin founded Object Mentor, now defunct, which provided instructor-led training on the extreme programming methodology. As of November 2023, he operated Uncle Bob Consulting, which provides consulting and training services. He serves as Master Craftsman / Mentor at Clean Coders, a company run by his son Micah Martin, and produces training videos.

In a 2024 interview Martin stated that he is programming primarily with Clojure.

Software principles advocacy

Martin is a proponent of software craftsmanship, agile software development, and test-driven development.

He is credited with introducing the collection of object-oriented programming (OOP) design principles that came to be known as SOLID.

Publications

1995. Designing Object-Oriented C++ Applications Using the Booch Method. Prentice Hall. ISBN 978-0132038379.

2000. More C++ Gems. Cambridge University Press. ISBN 978-0521786188.

2001. Extreme Programming in Practice. Addison-Wesley. ISBN 978-0201709377.

2002. Agile Software Development, Principles, Patterns, and Practices. Pearson. ISBN 978-0135974445.

2003. UML for Java Programmers. Prentice Hall. ISBN 978-0131428485.

2006. Agile Principles, Patterns, And Practices in C#. Pearson. ISBN 978-0131857254.

2009. Clean Code: A Handbook of Agile Software Craftsmanship. Prentice Hall. ISBN 978-0132350884.

2011. The Clean Coder: A Code Of Conduct For Professional Programmers. Prentice Hall. ISBN 978-0137081073.

2017. Clean Architecture: A Craftsman's Guide to Software Structure and Design. Prentice Hall. ISBN 978-0134494166.

2019. Clean Agile: Back to Basics. Prentice Hall. ISBN 978-0135781869.

2021. Clean Craftsmanship: Disciplines, Standards, and Ethics. Addison-Wesley Professional. ISBN 978-0136915805

2023. Functional Design: Principles, Patterns, and Practices. Addison-Wesley ISBN 978-0138176396

2024. We, Programmers: A Chronicle of Coders from Ada to AI. Addison-Wesley Professional. ISBN 978-0135344262

Guests

Notable guests of his video channel include Grady Booch and Ward Cunningham.

Clean Code

One term that is connected with Robert Martin is "Clean Code". It is the name of a book that he wrote, a firm that he owns, a class that he teaches, and a software paradigm that he supports. The software paradigm involves SOLID, Test Driven Development, Keep It Simple Stupid, Structured Programming, Object Oriented Programming, and certain Design Patterns.

Short functions

A core teaching from Clean Code reads "Functions should do one thing. They should do it well. They should only do it."

Martin tells how impressed he was by a program by Kent Beck: "Every function [..] was just two, or three, or four lines long. Each was transparently obvious. Each told a story. And each led you to the next in a compelling order. That's how short your functions should be."

John Ousterhout disagrees with this advice: "once a function gets down to a few dozen lines, further reductions in size are unlikely to have much impact on readability. [..] More functions means more interfaces to document and learn. If functions are made too small, they lose their independence [..]" For Ousterhout, functions and other modules should be "deep", but have a small interface. Ousterhout also disagreed with Martin's advice against code comments, and for test-driven development. Martin and Ousterhout discussed these points of disagreement and clarified their views in a long dialogue.

以上文字摘自英文维基百科「Robert C. Martin」(去掉了参考文献等尾部小节),按 CC BY-SA 4.0 使用,作者为维基百科的各位编者。

资料卡

出生
1952 年 12 月 5 日
职业
工程师、作家、计算机科学家、软件开发者
使用语言
英语

资料卡来自 Wikidata Q93010(CC0),众包数据,个别字段可能不全。

本站收录的作品(2)

作品年表(8 本)

本站书库里署名罗伯特·C·马丁的书(Open Library 上至少 10 人加过书架的才收),按首版年份排(有本站书页的用 Wikidata 记的首版年,其余用 Open Library 的);年份偶尔记成后来的版本或译本,以原书为准。全部作品见 Open Library。

  1. 1995Designing object-oriented C++ applications using the Booch method书架 10
  2. 2002Agile Software Development, Principles, Patterns, and Practices书架 48
  3. 2008Código Limpo. Habilidades Práticas Do Agile Softwar书架 147
  4. 2009Clean Code书架 962
  5. 2011The clean coder书架 107
  6. 2017Clean Architecture书架 180
  7. 2019Clean Agile书架 21
  8. 2019Arquitetura Limpa. O Guia do Artesao Para Estrutura e Design de Software书架 13

同时代的美国作家

资料来源