• Complain

Adam Tornhill - Your Code as a Crime Scene: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs

Here you can read online Adam Tornhill - Your Code as a Crime Scene: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2015, publisher: Pragmatic Bookshelf, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Adam Tornhill Your Code as a Crime Scene: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs
  • Book:
    Your Code as a Crime Scene: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs
  • Author:
  • Publisher:
    Pragmatic Bookshelf
  • Genre:
  • Year:
    2015
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Your Code as a Crime Scene: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Your Code as a Crime Scene: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Jack the Ripper and legacy codebases have more in common than youd think. Inspired by forensic psychology methods, youll learn strategies to predict the future of your codebase, assess refactoring direction, and understand how your team influences the design. With its unique blend of forensic psychology and code analysis, this book arms you with the strategies you need, no matter what programming language you use.
Software is a living entity thats constantly changing. To understand software systems, we need to know where they came from and how they evolved. By mining commit data and analyzing the history of your code, you can start fixes ahead of time to eliminate broken designs, maintenance issues, and team productivity bottlenecks.
In this book, youll learn forensic psychology techniques to successfully maintain your software. Youll create a geographic profile from your commit data to find hotspots, and apply temporal coupling concepts to uncover hidden relationships between unrelated areas in your code. Youll also measure the effectiveness of your code improvements. Youll learn how to apply these techniques on projects both large and small. For small projects, youll get new insights into your design and how well the code fits your ideas. For large projects, youll identify the good and the fragile parts.
Large-scale development is also a social activity, and the teams dynamics influence code quality. Thats why this book shows you how to uncover social biases when analyzing the evolution of your system. Youll use commit messages as eyewitness accounts to what is really happening in your code. Finally, youll put it all together by tracking organizational problems in the code and finding out how to fix them. Come join the hunt for better code!
What You Need:
You need Java 6 and Python 2.7 to run the accompanying analysis tools. You also need Git to follow along with the examples.

Adam Tornhill: author's other books


Who wrote Your Code as a Crime Scene: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs? Find out the surname, the name of the author of the book and a list of all author's works by series.

Your Code as a Crime Scene: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Your Code as a Crime Scene: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Your Code as a Crime Scene Use Forensic Techniques to Arrest Defects - photo 1
Your Code as a Crime Scene
Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs
by Adam Tornhill
Version: P1.0 (March 2015)
Copyright 2015 The Pragmatic Programmers, LLC. This book is licensed to the individual who purchased it. We don't copy-protect it because that would limit your ability to use it for your own purposes. Please don't break this trustyou can use this across all of your devices but please do not share this copy with other members of your team, with friends, or via file sharing services. Thanks.
Dave & Andy.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and The Pragmatic Programmers, LLC was aware of a trademark claim, the designations have been printed in initial capital letters or in all capitals. The Pragmatic Starter Kit, The Pragmatic Programmer, Pragmatic Programming, Pragmatic Bookshelf and the linking g device are trademarks of The Pragmatic Programmers, LLC.

Every precaution was taken in the preparation of this book. However, the publisher assumes no responsibility for errors or omissions, or for damages that may result from the use of information (including program listings) contained herein.

Our Pragmatic courses, workshops, and other products can help you and your team create better software and have more fun. For more information, as well as the latest Pragmatic titles, please visit us at http://pragprog.com.

The team that produced this book includes:
Fahmida Y. Rashid (editor)
Potomac Indexing, LLC (indexer)
Cathleen Small (copyeditor)
Dave Thomas (typesetter)
Janet Furlow (producer)
Ellie Callahan (support)
For international rights, please contact .
For the Best Reading Experience...

We strongly recommend that you read this book with the publisher defaults setting enabled for your reading device or application. Certain formats and characters may not display correctly without this setting. Please refer to the instructions for your reader on how to enable the publisher defaults setting.

Table of Contents
Copyright 2015, The Pragmatic Bookshelf.
Early praise for Your Code as a Crime Scene

This book casts a surprising light on an unexpected placemy own code. I feel like Ive found a secret treasure chest of completely unexpected methods. Useful for programmers, the book provides a powerful tool to smart testers, too.

James Bach
Author, Lessons Learned in Software Testing

You think you know your code. After all, you and your fellow programmers have been sweating over it for years now. Adam Tornhill uses thinking in psychology together with hands-on tools to show you the bad parts. This book is a red pill. Are you ready?

Bjrn Granvik
Competence manager

Adam Tornhill presents code as it exists in the real worldtightly coupled, unwieldy, and full of danger zones even when past developers had the best of intentions. His forensic techniques for analyzing and improving both the technical and the social aspects of a code base are a godsend for developers working with legacy systems. I found this book extremely useful to my own work and highly recommend it!

Nell Shamrell-Harrington
Lead developer, PhishMe

By enlisting simple heuristics and data from everyday tools, Adam shows you how to fight bad code and its cohortsall interleaved with intriguing anecdotes from forensic psychology. Highly recommended!

Jonas Lundberg
Senior programmer and team leader, Netset AB

After reading this book, you will never look at code in the same way again!

Patrik Falk
Agile developer and coach

Do you have a large pile of code, and mysterious and unpleasant bugs seem to appear out of nothing? This book lets you profile and find out the weak areas in your code and how to fight them. This is the essence of combining business with pleasure!

Jimmy Rosenskog
Senior consultant, software developer

Adam manages to marry source code analysis with forensic psychology in a unique and structured way. The book presents tools and techniques to apply this concept to your own projects to predict the future of your codebase. Brilliant!

Mattias Larsson
Senior software consultant, Webstep

Foreword by Michael Feathers

Its easy to look at code and think that there is nothing more than what we see. When we look at it, we see operators, identifiers, and other language structure, but that is all surface. We forget the depth. We spend so much time looking at the current state of the code that we forget its history and all of the forces that influenced it along its path toward the present.

We pay for this myopia. Many code changes are incredibly shortsighted, both in terms of our vision of what the code will be in the future, and the way that it got to be the way that it is.

Years ago, I was struck by the fact that we use version-control systems to keep track of our projects histories, but we hardly ever revert to previous versions. Those versions exist as an insurance policy, and were lucky when we never have to file a claim. Its easy, then, to look at that record of changes and see it as waste. Do we really need more than the last few versions? The naive answer is no, but we have a real opportunity when we enthusiastically say yeswe can mine our source code history to learn more about us, our environment, and how we work. That information is real power.

I think that we are at the beginning of a new era of awareness about how software changes. Were abandoning the static view of code and seeing it as a verba constantly changing medium that reacts to its immediate and extended environment. Your Code as a Crime Scene is the first book Ive encountered that takes that view and runs with it. Adam presents tools, techniques, and insight that will change the way you develop software. You cant unread this information, and you will see software differently.

Dig in.

Michael Feathers
Copyright 2015, The Pragmatic Bookshelf.

Acknowledgments

My writing experience has been fun, challenging, and rewarding. I owe that to all the amazing people who helped me out.

First of all, Id like to thank the Pragmatic Bookshelf for this opportunity. In particular, Id like to thank my editor, Fahmida Y. Rashid, who made this a much better book than what I couldve done on my own. Thanks, Fahmida!

Id also like to thank all my reviewers: John Cater, Nell Shamrell, Rod Hilton, Gunther Schmidl, Dan Shiovitz, Lief Eric Fredheim, Jeremy Frens, Kevin Beam, and Andy Lester. Thanks a lot for all your feedback and ideas!

Special thanks to Jonas Lundberg and James Bach for their deep insights and helpful suggestions.

As always, I could count on my great colleagues at Webstep to help out: Patrik Falk, Mattias Larsson, Jimmy Rosenskog, Bjrn Granvik, and Mikael Pahmp. Thanks for all your encouragement and technical expertise! I would also like to thank Martin Stenlund for being an amazing manager and a true leader.

Ive always been a big fan of Michael Feathers work. Thats why Im extra proud to include his foreword. Thanks, Michaelyoure an inspiration!

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Your Code as a Crime Scene: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs»

Look at similar books to Your Code as a Crime Scene: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Your Code as a Crime Scene: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs»

Discussion, reviews of the book Your Code as a Crime Scene: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.