In 'Refactoring', Martin Fowler unveils the transformative art of improving existing code without changing its external behavior. This essential guide reveals practical techniques and principles that empower developers to enhance code readability and maintainability, making it a pivotal resource for software engineering. Readers will discover the compelling reasons behind refactoring and the dramatic impact it has on long-term project success. By dissecting real-world examples, Fowler fosters a deeper understanding of code quality and design philosophy. Whether you're a novice or a seasoned pro, this book ignites a passion for clean code and continuous improvement.
By Martin Fowler
Published: 2018
"Refactoring is about improving the design of existing code without changing its behavior."
"Whenever you read [Refactoring], it's time to read it again. And if you haven't read it yet, please do before writing another line of code." -David Heinemeier Hansson, Creator of Ruby on Rails, Founder & CTO at Basecamp Fully Revised and Updated--Includes New Refactorings and Code Examples "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." -M. Fowler (1999) For more than twenty years, experienced programmers worldwide have relied on Martin Fowler's Refactoring to improve the design of existing code and to enhance software maintainability, as well as to make existing code easier to understand. This eagerly awaited new edition has been fully updated to reflect crucial changes in the programming landscape. Refactoring, Second Edition, features an updated catalog of refactorings and includes JavaScript code examples, as well as new functional examples that demonstrate refactoring without classes. Like the original, this edition explains what refactoring is; why you should refactor; how to recognize code that needs refactoring; and how to actually do it successfully, no matter what language you use. Understand the process and general principles of refactoring Quickly apply useful refactorings to make a program easier to comprehend and change Recognize "bad smells" in code that signal opportunities to refactor Explore the refactorings, each with explanations, motivation, mechanics, and simple examples Build solid tests for your refactorings Recognize tradeoffs and obstacles to refactoring Includes free access to the canonical web edition, with even more refactoring resources. (See inside the book for details about how to access the web edition.)
Showing 8 of 24 similar books
David Heinemeier Hansson, also known as DHH, is a Danish programmer, entrepreneur, and author, best known as the creator of Ruby on Rails, a popular web application framework. Heinemeier Hansson is also a partner at Basecamp, a project management and collaboration software company he co-founded. His contributions to software development have earned him widespread recognition, with Ruby on Rails being used by thousands of developers and companies worldwide. Heinemeier Hansson is also a vocal advocate for remote work, simplicity in business, and sustainable work practices, ideas he explores in his bestselling books Rework and It Doesn’t Have to Be Crazy at Work. In addition to his work in tech, he is an accomplished race car driver, having competed in the 24 Hours of Le Mans. Heinemeier Hansson’s approach to work-life balance and entrepreneurship has made him a thought leader in the tech community, where he continues to challenge traditional business practices and advocate for more human-centered approaches to work
Abi Tyas Tunggal is a distinguished author known for his impactful contributions to contemporary literature and digital content. He has garnered acclaim for his insightful storytelling and adept handling of complex themes, resonating with a diverse readership. Tunggal's work often explores the intersections of technology, society, and human experience, making him a prominent voice in modern narrative arts. Beyond his literary achievements, he is also recognized for his innovative use of digital platforms to engage with and expand his audience. Tunggal continues to influence the literary landscape with his thought-provoking and accessible writing.
Bret Victor is a renowned American interface designer and computer scientist celebrated for his innovative contributions to interactive design and human-computer interaction. He is best known for creating dynamic, explorable explanations, which have significantly influenced the way educational content is presented and understood. Victor's seminal work, "Inventing on Principle," advocates for the integration of immediate feedback in creative processes, inspiring a new wave of interactive programming environments. As a former member of the Apple Human Interface team, he played a pivotal role in shaping modern user interfaces. Through his organization, Dynamicland, Victor continues to explore and expand the boundaries of immersive, collaborative computing environments.
Charlie Munger is an American investor, businessman, and philanthropist, best known as the vice chairman of Berkshire Hathaway, where he partners with Warren Buffett. Renowned for his insights on investment strategies and mental models, Munger has significantly influenced the world of finance. His notable literary contributions include "Poor Charlie's Almanack," a compilation of his speeches and writings that distill his wisdom on decision-making and business principles. Munger's work emphasizes the importance of multidisciplinary thinking and continuous learning. Beyond his financial acumen, he is celebrated for his charitable efforts, particularly in education and healthcare.
Alexey Moiseenkov is a Russian entrepreneur and tech innovator best known for creating Prisma, the groundbreaking mobile app that transforms photos into artworks using artificial intelligence. Though not primarily a literary figure, his work in AI and digital transformation has influenced contemporary discussions on the intersection of technology and art. Moiseenkov's contributions have been featured in various tech and innovation journals, highlighting his impact on modern digital culture. His work underscores the evolving narrative of creativity in the digital age, bridging the gap between artistic expression and technological advancement. Moiseenkov continues to inspire through his ongoing ventures in AI and entrepreneurship.
Patrick Collison is an Irish entrepreneur and co-founder of Stripe, a global technology company that enables businesses to accept online payments. Along with his brother John, Patrick has transformed Stripe into one of the most valuable private tech companies in the world. Stripe’s innovative approach to online payments has made it a key player in the financial technology space. Collison is known for his deep interest in science, technology, and policy, often engaging in conversations about innovation, progress, and how to improve societal outcomes. He is an advocate for scientific advancement and the intersection of technology and public policy.
Drew Houston is an accomplished American entrepreneur best known for co-founding Dropbox, a widely-used cloud storage service, in 2007. As the CEO, he has led the company to serve millions of users worldwide and become a key player in the tech industry. Although not primarily known for literature, Houston has shared his entrepreneurial insights and experiences through various interviews and public speaking engagements, offering valuable lessons to aspiring business leaders. His work has significantly influenced the way people and organizations manage and share digital content. Houston's innovative vision continues to shape the future of cloud computing and digital collaboration.
Aileen Lee is a distinguished venture capitalist and founder of Cowboy Ventures, a seed-stage venture capital firm that invests in early-stage technology companies. She is widely known for coining the term "unicorn" to describe startups valued at over $1 billion, significantly impacting how the tech industry views high-growth companies. Lee's keen eye for innovation and her advocacy for diversity in tech have made her a prominent figure in Silicon Valley. Beyond her financial acumen, she has authored insightful articles on entrepreneurship and startup culture, contributing valuable perspectives to business literature. Lee's work continues to inspire a new generation of entrepreneurs and investors.
Showing 8 of 20 related collections
“Refactoring is about improving the design of existing code without changing its behavior.”
Refactoring
By Martin Fowler
Discover a world of knowledge through our extensive collection of book summaries.
Martin Fowler is a renowned software engineer, author, and speaker, known for his contributions to the field of software development and design. He is the Chief Scientist at ThoughtWorks and has written several influential books, including "Refactoring: Improving the Design of Existing Code," "Patterns of Enterprise Application Architecture," and "Domain Specific Languages." His writing style is characterized by clarity and practical insights, making complex topics accessible to both novice and experienced developers. Fowler is also a thought leader in Agile methodology and continuous integration, advocating for best practices in modern software development.
Key information about the book.
Support local bookstores: BookShop gives a portion of each sale to independent bookshops!
Clean Code: A Handbook of Agile Software Craftsmanship by Robert C. Martin is a masterclass in writing quality code that stands the test of time. Through a series of practical examples and principles, Martin reveals the art of developing clean, readable, and maintainable code, while emphasizing the moral responsibility of programmers. He challenges readers to confront their coding habits and provides actionable insights to elevate their skills. With an exploration of key concepts like refactoring, testing, and the importance of simplicity, this book becomes an essential guide for anyone who writes software. Dive in and discover how clean code not only enhances productivity but also fosters a culture of excellence in software development!
In "The Pragmatic Programmer," Andrew Hunt and David Thomas unveil the timeless principles and practices that empower developers to master their craft. Through captivating anecdotes and insightful tips, they challenge conventional programming wisdom, urging readers to embrace adaptability and continuous learning. The compelling emphasis on practical techniques, such as code craftsmanship and effective debugging, makes this a must-read for both seasoned pros and new coders. With its blend of philosophy and actionable advice, the book invites you to reflect on your own software development journey. Prepare to elevate your programming skills and become a more versatile developer—your future self will thank you!
No summary available
In 'Bitcoin Billionaires,' Ben Mezrich chronicles the fascinating journey of the Winklevoss twins as they venture from the shadow of their legal battles with Mark Zuckerberg to become pioneering pioneers in the cryptocurrency revolution. This thrilling adventure explores their strategic investments and relentless pursuit of success in the burgeoning world of Bitcoin. With a blend of personal anecdotes and the rollercoaster of digital currency, the book reveals the challenges and triumphs faced by those at the forefront of financial innovation. As the stakes rise, readers are drawn into a narrative filled with ambition, technology, and the quest for fortune. Will the twins navigate the turbulent waters of this new economy, or will they lose it all in the unpredictable world of crypto?
In 'Code', Charles Petzold takes readers on a captivating journey through the world of programming and computer science. He unravels the complex tapestry of how computers work, starting from simple concepts and building up to intricate systems. Through engaging anecdotes and metaphors, Petzold demystifies the inner workings of machines, making them accessible to everyone. This exploration not only reveals the beauty of code but also challenges us to think critically about the impact of technology in our lives. Prepare to see the digital world around you in a whole new light!
In 'Hackers & Painters,' Paul Graham explores the fascinating parallels between the worlds of programming and art, highlighting how both disciplines require creativity, vision, and craftsmanship. He delves into the lives of hackers, uncovering the art behind their code and the societal implications of their work. Graham shares insights on the importance of good design in technology and challenges traditional notions of what it means to be a creator. With thought-provoking essays, he invites readers to reconsider the value of their own work in the evolving digital landscape. This book is a compelling call to see technology not just as a tool but as a medium for artistic expression.
In 'Love and Sex with Robots,' David Levy explores the provocative intersection of technology and human relationships, envisioning a future where intimate connections with robots could reshape society. He delves into the psychology behind these relationships, posing challenging questions about love, attraction, and the essence of humanity. As AI evolves, Levy raises the possibility that we may one day experience genuine emotional bonds with machines. The book teases out the implications of this phenomenon on our understanding of love and intimacy. Prepare to challenge your perceptions of relationships in a world where boundaries between human and artificial blur.
In 'Peopleware', Tom DeMarco and Timothy R. Lister delve into the often-overlooked human factors that influence software development success. They argue that a company's culture and team dynamics are as critical as technology and tools for productivity and innovation. Packed with insightful anecdotes and real-world examples, this book challenges conventional management practices and highlights the importance of treating employees as valuable assets. Readers will discover actionable strategies to foster collaboration, creativity, and trust within teams. Can the right environment transform mere employees into high-performing teams?