• Fri frakt över 249 kr
  • •
  • Snabba leveranser
  • •
  • Billiga böcker
Kundservice

Du är på sajten för privatpersoner.

Företag, bibliotek eller offentlig verksamhet?

Du handlar på classic.bokus.com, där alla dina funktioner finns intakta.
Till classic.bokus.com
Bokus logotyp. Gå till startsidan.
  • Erbjudanden
  • Student
  • Topplistor
  • Barn & ungdom
  • Bokus Play
  • E-böcker
  • Ljudböcker
  • Pocketböcker
  • Spel och pussel

Skapa nya rutiner – hälsoböcker upp till 50% →

Sidfot

Mina sidor

    Hjälp

    • Kundservice
    • Vanliga frågor och svar
    • Frakt och leverans
    • Retur vid ångerrätt
    • Reklamera vara
    • Betalning
    • Köpvillkor
    • Allmänna villkor
    • Information om webbplatsens tillgänglighet

    Om Bokus

    • Om oss
    • Pressrum
    • För studenter
    • För företag
    • För bibliotek och offentlig verksamhet
    • För leverantörer
    • Hållbarhet

    Populärt

    • Aktuella erbjudanden
    • Presentkort
    • Studentlitteratur
    • Nya böcker
    • Topplistor
    • Signerade böcker
    • Engelska böcker

    Inspiration

    • Boktips
    • BookTok
    • Barnbokskaraktärer
    • Populära författare
    Logotyp för Bokus
    Följ oss på Facebook (extern länk)Följ oss på Instagram (extern länk)Följ oss på YouTube (extern länk)Följ oss på TikTok (extern länk)
    bokus @ CookiesAnpassa cookiesIntegritetspolicyKöpvillkor
    Till Citymail hemsida (extern länk)Till Budbee hemsida (extern länk)Till Postnord hemsida (extern länk)Till Schenker hemsida (extern länk)Till Early Bird hemsida (extern länk)Till Walleys hemsida (extern länk)
    1. Data och IT
    2. Programmeringsböcker

    Clean Code

    A Handbook of Agile Software Craftsmanship

    AvRobert Martin

    Häftad, Engelska, 2025

    Del i serien Robert C. Martin Series

    427 kr

    Beställningsvara. Skickas inom 7-10 vardagar. Fri frakt över 249 kr.

    Fler format och utgåvor

    Häftad

    653 kr

    Beskrivning

    Bestselling author Robert C. Martin brings new life and updated code to his beloved Clean Code book

    With Clean Code, Second Edition, Robert C. Martin ("Uncle Bob") reinvigorates the classic guide to software craftsmanship with updated insights, broader scope, and enriched content. This new edition--a comprehensive rewrite of the original bestseller--is poised to transform the way developers approach coding, fostering a deeper commitment to the craft of writing clean, flexible, and maintainable code.

    The book is divided into four parts: basic coding practices, design principles and heuristics, high-level architecture, and the ethics of craftsmanship. It challenges readers to critically evaluate code quality and reassess their professional values, ultimately guiding them to produce better software. This edition includes expanded coverage of testing disciplines, design and architecture principles, and multiple programming languages.

    • Design and architecture principles integrated with coding practices
    • Coverage of more languages, including Java, JavaScript, Go, Python, Clojure, C#, and C
    • Case studies for practical exercises in code transformation
    • Techniques for writing good names, functions, objects, and classes
    • Strategies for formatting code for maximum readability
    • Comprehensive error handling and testing practices
    • Productive use of AI tools for coding
    • Soft skills and the ethics of programming
    • SOLID principles of software design
    • Management of dependencies for flexible and reusable code
    • Professional practices and trade-offs in object-oriented design

    Clean Code, Second Edition, underscores the importance of evolving software craftsmanship to meet contemporary challenges. Offering a deeper exploration of testing, design, and architecture, alongside universal coding principles applicable across various programming languages, this edition is set to be an indispensable resource for developers, engineers, and project managers. It not only aims to enhance technical skills but also to cultivate a professional ethos that values clean, flexible, and sustainable code.

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

    Produktinformation

    • Utgivningsdatum:2025-11-11
    • Mått:220 x 30 x 180 mm
    • Vikt:1 040 g
    • Format:Häftad
    • Språk:Engelska
    • Serie:Robert C. Martin Series
    • Antal sidor:672
    • Upplaga:2
    • Förlag:Pearson Education
    • ISBN:9780135398579

    Utforska kategorier

    • Programmeringsböcker inom Data och IT
    • Programvaruutveckling inom Data och IT

    Mer om författaren

    Robert C. Martin (Uncle Bob) has been a programmer and software development expert since 1970. He is founder of Uncle Bob Consulting, LLC, and cofounder with his son Micah Martin of The Clean Coders LLC. Martin has published dozens of articles in various trade journals and is a regular speaker at international conferences and trade shows. He is the author of many books, including Agile Software Development: Principles, Patterns, and Practices; UML for Java Programmers; Clean Code; The Clean Coder; Clean Architecture; Clean Agile; Clean Craftsmanship; and Functional Design. Martin served for three years as editor-in-chief of the C++ Report and as the first chairman of the Agile Alliance.

    Recensioner i media

    Praise for the First Edition of Clean Code"Clean Code has changed the way I develop and maintain software in so many ways. It defines so well how code should be written, and I have not only learnt much from this book but have also put into practice many of its gems. I can honestly say that having gone on this journey, it is once again a pleasure to develop software and look at code that you are proud to have written."--Steve Roberts, head of IT"Reading Clean Code validated my inner sense of how software should be written, while also improving the quality of my work by teaching me things I didn't know. I'm grateful for this book and others by the same author as they remain fundamental prerequisites, even in the age of AI."--Milos Baic, developer and solution architect"[Clean Code] was the single most influential thing that I encountered in my career. Provided I was in a team that adhered to it, it took a lot of stress away as the code was suddenly more understandable and thus easier to maintain. To design something with testability in mind eliminated a lot of complexity in design and maintenance. Above all, it made programming feel cozy and fun again. The feeling gets stronger when you move from poor to a cleaner code base."--Žarko Stojanović, staff software engineer

    Innehållsförteckning

    • Foreword xixIntroduction xxvIntroduction (from Long Ago) xxixAbout the Author xxxiChapter 1: Clean Code 1There Will Be Code 2Bad Code 3The Art of Clean Code 5Putting All This Together 9We Read More Than We Write 13The Boy Scout Rule 14Part I: Code 17Chapter 2: Clean That Code! 19The Cleaning Process 30Conclusion 37Postscript: Future Bob Playing with Grok3 37Postscript Conclusion 40Chapter 3: First Principles 41Everything Small, Well Named, Organized, and Ordered 42A More Significant Example 44A Final Thought 68Chapter 4: Meaningful Names 71Use Intention-Revealing Names 72Final Words 87Chapter 5: Comments 89Compensating for Failure 90Good Comments 92Bad Comments 97Conclusion 115Chapter 6: Formatting 117The Purpose of Formatting 118Vertical Formatting 118Horizontal Formatting 127Team Rules 132Uncle Bob's Formatting Rules 133Chapter 7: Clean Functions 137Small! 138Reading Code from Top to Bottom: The Stepdown Rule 140Switch Statements 142Clean Functions: A Deeper Look 144Conclusion 157Chapter 8: Function Heuristics 159Function Arguments 159Command Query Separation 164Prefer Exceptions to Returning Error Codes 165DRY: Don't Repeat Yourself 169Side Effects 177Structured Programming 181This Is Too Much to Constantly Keep in Mind 183Conclusion 184Chapter 9: The Clean Method 185Make It Right 186Example 188Conclusion 210Chapter 10: One Thing 211Extract Method Refactoring 212What Are Large Functions Anyway? 217Conclusion 239Chapter 11: Be Polite 241The Newspaper Metaphor 243The Stepdown Rule: Once Again 245The Abstraction Roller Coaster 246This Is How We Write, but Not How We Want to Read 246Chapter 12: Objects and Data Structures 249What Is an Object? 250Data Abstraction 251Data/Object Antisymmetry 252The Law of Demeter 255Data Transfer Objects 258Switch Statements 260The OO/Procedural Trade-off 264But What About Performance? 265Conclusion 265Chapter 13: Clean Classes 267Classes and Modules versus Files 267What Should a Class Contain? 268Chapter 14: Testing Disciplines 289Discipline 1: Test-Driven Development (TDD) 291Discipline 2: Test && Commit || Revert (TCR) 292Discipline 3: Small Bundles 293Design 293Discipline 294Keeping Tests Clean 299Tests Enable the -ilities 300Chapter 15: Clean Tests 303Domain-Specific Testing Language 307F.I.R.S.T. 310Test Design 311Conclusion 311Chapter 16: Acceptance Testing 313The Acceptance Testing Discipline 314Conclusion 316Chapter 17: AIs, LLMs, and God Knows What 317Programming by Prompt 319Conclusion 328Part II: Design 329Chapter 18: Simple Design 331YAGNI 333Covered by Tests 333Maximize Expression 334Minimize Duplication 337Chapter 19: The SOLID Principles 341SRP: The Single Responsibility Principle 343OCP: The Open–Closed Principle 347LSP: The Liskov Substitution Principle 351ISP: The Interface Segregation Principle 354DIP: The Dependency Inversion Principle 356Chapter 20: Component Principles 363Components 364A Brief History of Components 364Component Cohesion 368Component Coupling 373Conclusion 387Chapter 21: Continuous Design 389Continuous Change 390Continuous Design 391Sailing on the Four Cs of Continuous Design 392When Else Do We Design? 420Chapter 22: Concurrency 423Why Concurrency? 424Concurrency Defense Principles 4272025 Update and Report from the Field 437Conclusion 442Part III: Architecture 443Chapter 23: The Two Values of Software 445Keeping Options Open 446Chapter 24: Independence 449Use Cases 450Operation 450Development 451Deployment 451Leaving Options Open 451Chapter 25: Architectural Boundaries 453What Lines Do You Draw, and When? 454Plug-in Architecture 456Case Study: FitNesse 457Conclusion 459Chapter 26: Clean Boundaries 461Third-Party IoT Framework: Lots o' Boundaries 462UI/Application Boundary 466Clean Boundaries 474Chapter 27: The Clean Architecture 475The Dependency Rule 476Conclusion 481Part IV: Craftmanship 483"A Great Number" 484Eight Decades 484The Oath 492Chapter 28: Harm 495No Harm to Society 496Harm to Function 497No Harm to Structure 499Soft 500Tests 501Chapter 29: No Defect in Behavior or Structure 503Making It Right 504Programmers Are Stakeholders 507Do Your Best 508Chapter 30: Repeatable Proof 511Dijkstra 511Structured Programming 514Functional Decomposition 516Test-Driven Development et al. 517Chapter 31: Small Cycles 519The History of Source Code Control 519Continuous Integration 524Branches versus Toggles 525Continuous Deployment 527Continuous Build 528Chapter 32: Relentless Improvement 529Test Coverage 529Mutation Testing 530Semantic Stability 530Cleaning 531Creations 531Chapter 33: Maintain High Productivity 533Viscosity 533Managing Distractions 535Time Management 538Chapter 34: Work as a Team 539Collaborative Programming 539Open/Virtual Office 540Chapter 35: Estimate Honestly and Fairly 543Lies 544Honesty, Accuracy, Precision 544Lessons from Me 545Accuracy and Precision 547Aggregation 548Honesty 549Pressure 550Chapter 36: Respect for Fellow Programmers 553Chapter 37: Never Stop Learning 555Afterword 557Appendix: The Clean Code Debate 561Introductions 562Method Length 563Method Length Summary 575Comments 576Comments Summary 590John's Rewrite of PrimeGenerator 591A Tale of Two Programmers 596Bob's Rewrite of PrimeGenerator2 599Test-Driven Development 603TDD Summary 612Closing Remarks 613Bibliography 615Index 619
    Hoppa över listan

    Mer från samma författare

    Robert Martin - Clean Architecture, Häftad

    Clean Architecture

    Robert Martin

    Häftad, 2017

    4,6 utav 5 stjärnor. Totalt antal röster:(7)

    307 kr

    Robert Martin - We, Programmers, Häftad

    We, Programmers

    Robert Martin

    Häftad, 2025

    289 kr

    Robert Martin - Clean Coder, The, Häftad

    Clean Coder, The

    Robert Martin

    Häftad, 2011

    4,0 utav 5 stjärnor. Totalt antal röster:(7)

    345 kr

    Robert Martin - Clean Agile, Häftad

    Clean Agile

    Robert Martin

    Häftad, 2019

    308 kr

    Robert Martin - Agile Software Development, Principles, Patterns, and Practices, Inbunden

    Agile Software Development, Principles, Patterns, and Practices

    Robert Martin

    Inbunden, 2002

    4,0 utav 5 stjärnor. Totalt antal röster:(1)

    1 475 kr

    Robert Martin, Micah Martin - Agile Principles, Patterns, and Practices in C#, Inbunden

    Agile Principles, Patterns, and Practices in C#

    Robert Martin, Micah Martin

    Inbunden, 2006

    4,0 utav 5 stjärnor. Totalt antal röster:(1)

    551 kr

    Robert Martin - Functional Design, Häftad

    Functional Design

    Robert Martin

    Häftad, 2023

    355 kr

    Robert Martin - Carnegie Denied, Inbunden

    Carnegie Denied

    Robert Martin

    Inbunden, 1993

    837 kr

    Robert Martin - How We Do It, Inbunden

    How We Do It

    Robert Martin

    Inbunden, 2013

    484 kr

    Teresa Hennig, Ken Puls, Robert Martin - RibbonX, E-bok

    RibbonX

    Teresa Hennig, Ken Puls, Robert Martin

    E-bok
    2008

    378 kr

    Hoppa över listan

    Mer från samma serie

    Robert Martin - Clean Architecture, Häftad

    Clean Architecture

    Robert Martin

    Häftad, 2017

    4,6 utav 5 stjärnor. Totalt antal röster:(7)

    307 kr

    Mark Seemann - Code That Fits in Your Head, Häftad

    Code That Fits in Your Head

    Mark Seemann

    Häftad, 2021

    1,0 utav 5 stjärnor. Totalt antal röster:(1)

    438 kr

    Robert Martin - We, Programmers, Häftad

    We, Programmers

    Robert Martin

    Häftad, 2025

    289 kr

    Mike Cohn - Agile Estimating and Planning, Häftad

    Agile Estimating and Planning

    Mike Cohn

    Häftad, 2005

    4,0 utav 5 stjärnor. Totalt antal röster:(3)

    592 kr

    Robert Martin - Clean Coder, The, Häftad

    Clean Coder, The

    Robert Martin

    Häftad, 2011

    4,0 utav 5 stjärnor. Totalt antal röster:(7)

    345 kr

    Robert Martin - Clean Agile, Häftad

    Clean Agile

    Robert Martin

    Häftad, 2019

    308 kr

    Michael Feathers - Working Effectively with Legacy Code, Häftad

    Working Effectively with Legacy Code

    Michael Feathers

    Häftad, 2004

    4,7 utav 5 stjärnor. Totalt antal röster:(3)

    675 kr

    Sanjiv Augustine - Managing Agile Projects, Häftad

    Managing Agile Projects

    Sanjiv Augustine

    Häftad, 2005

    414 kr

    Robert Martin, Micah Martin - Agile Principles, Patterns, and Practices in C#, Inbunden

    Agile Principles, Patterns, and Practices in C#

    Robert Martin, Micah Martin

    Inbunden, 2006

    4,0 utav 5 stjärnor. Totalt antal röster:(1)

    551 kr

    Sandro Mancuso - Software Craftsman, The, Häftad

    Software Craftsman, The

    Sandro Mancuso

    Häftad, 2014

    277 kr

    Hoppa över listan

    Du kanske också är intresserad av

    Robert Martin - Clean Architecture, Häftad

    Clean Architecture

    Robert Martin

    Häftad, 2017

    4,6 utav 5 stjärnor. Totalt antal röster:(7)

    307 kr

    Robert Martin - Clean Code, Häftad

    Clean Code

    Robert Martin

    Häftad, 2008

    4,6 utav 5 stjärnor. Totalt antal röster:(15)

    653 kr

    Robert Martin - Clean Coder, The, Häftad

    Clean Coder, The

    Robert Martin

    Häftad, 2011

    4,0 utav 5 stjärnor. Totalt antal röster:(7)

    345 kr

    Mark Seemann - Code That Fits in Your Head, Häftad

    Code That Fits in Your Head

    Mark Seemann

    Häftad, 2021

    1,0 utav 5 stjärnor. Totalt antal röster:(1)

    438 kr

    Robert Martin - We, Programmers, Häftad

    We, Programmers

    Robert Martin

    Häftad, 2025

    289 kr

    Mike Cohn - Agile Estimating and Planning, Häftad

    Agile Estimating and Planning

    Mike Cohn

    Häftad, 2005

    4,0 utav 5 stjärnor. Totalt antal röster:(3)

    592 kr

    Sandro Mancuso - Software Craftsman, The, Häftad

    Software Craftsman, The

    Sandro Mancuso

    Häftad, 2014

    277 kr

    Robert C. Martin - Clean Craftsmanship, Häftad

    Clean Craftsmanship

    Robert C. Martin

    Häftad, 2021

    345 kr

    Robert Martin - Functional Design, Häftad

    Functional Design

    Robert Martin

    Häftad, 2023

    355 kr

    Sanjiv Augustine - Managing Agile Projects, Häftad

    Managing Agile Projects

    Sanjiv Augustine

    Häftad, 2005

    414 kr