• Complain

Tom Long - Good Code, Bad Code: Think like a software engineer

Here you can read online Tom Long - Good Code, Bad Code: Think like a software engineer full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2021, publisher: Manning, 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.

Tom Long Good Code, Bad Code: Think like a software engineer
  • Book:
    Good Code, Bad Code: Think like a software engineer
  • Author:
  • Publisher:
    Manning
  • Genre:
  • Year:
    2021
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Good Code, Bad Code: Think like a software engineer: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Good Code, Bad Code: Think like a software engineer" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Practical techniques for writing code that is robust, reliable, and easy for team members to understand and adapt.
Summary
In Good Code, Bad Code youll learn how to:
Think about code like an effective software engineer
Write functions that read like well-structured sentences
Ensure code is reliable and bug free
Effectively unit test code
Identify code that can cause problems and improve it
Write code that is reusable and adaptable to new requirements
Improve your medium and long-term productivity
Save yourself and your team time
The difference between good code or bad code often comes down to how you apply the established practices of the software development community. In Good Code, Bad Code youll learn how to boost your productivity and effectiveness with code development insights normally only learned through careful mentorship and hundreds of code reviews.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the technology
Software development is a team sport. For an application to succeed, your code needs to be robust and easy for others to understand, maintain, and adapt. Whether youre working on an enterprise team, contributing to an open source project, or bootstrapping a startup, it pays to know the difference between good code and bad code.
About the book
Good Code, Bad Code is a clear, practical introduction to writing code thats a snap to read, apply, and remember. With dozens of instantly-useful techniques, youll find coding insights that normally take years of experience to master. In this fast-paced guide, Google software engineer Tom Long teaches you a host of rules to apply, along with advice on when to break them!
Whats inside
Write functions that read like sentences
Ensure your code stays bug-free
How to sniff out bad code
Save time for yourself and your team
About the reader
For coders early in their careers who are familiar with an object-oriented language, such as Java or C#.
About the author
Tom Long is a software engineer at Google where he works as a tech lead. Among other tasks, he regularly mentors new software engineers in professional coding best practices.
Table of Contents
PART 1 IN THEORY
1 Code quality
2 Layers of abstraction
3 Other engineers and code contracts
4 Errors
PART 2 IN PRACTICE
5 Make code readable
6 Avoid surprises
7 Make code hard to misuse
8 Make code modular
9 Make code reusable and generalizable
PART 3 UNIT TESTING
10 Unit testing principles
11 Unit testing practices

Tom Long: author's other books


Who wrote Good Code, Bad Code: Think like a software engineer? Find out the surname, the name of the author of the book and a list of all author's works by series.

Good Code, Bad Code: Think like a software engineer — 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 "Good Code, Bad Code: Think like a software engineer" 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

Good Code Bad Code Think like a software engineer - image 1

Good Code Bad Code Think like a software engineer - image 2

Good Code, Bad Code

Think like a software engineer

Tom Long

To comment go to liveBook

Good Code Bad Code Think like a software engineer - image 3

Manning

Shelter Island

For more information on this and other Manning titles go to

www.manning.com

Copyright

For online information and ordering of these and other Manning books, please visit www.manning.com. The publisher offers discounts on these books when ordered in quantity.

For more information, please contact

Special Sales Department

Manning Publications Co.

20 Baldwin Road

PO Box 761

Shelter Island, NY 11964

Email: orders@manning.com

2021 by Manning Publications Co. All rights reserved.

No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps.

Recognizing the importance of preserving what has been written, it is Mannings policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end. Recognizing also our responsibility to conserve the resources of our planet, Manning books are printed on paper that is at least 15 percent recycled and processed without the use of elemental chlorine.

Good Code Bad Code Think like a software engineer - image 4

Manning Publications Co.

20 Baldwin Road Technical

PO Box 761

Shelter Island, NY 11964

Development editor:

Toni Arritola

Senior technical development editor:

Al Scherer

Technical development editor:

Mike Jensen

Review editor:

Aleks Dragosavljevi

Production editor:

Andy Marinkovich

Copy editor:

Michele Mitchell

Proofreader:

Jason Everett

Technical proofreader:

Chris Villanueva

Typesetter and cover designer:

Marija Tudor

ISBN: 9781617298936

front matter
preface

Ive been coding in one form or another since I was 11 years old, so by the time I landed my first job as a software engineer, Id written quite a lot of code. Despite this, I quickly discovered that coding and software engineering are not the same thing. Coding as a software engineer meant that my code had to make sense to other people and not break when they changed things. It also meant that there were real people (sometimes lots of them) using and relying on my code, so the consequences of things going wrong were a lot more serious.

As a software engineer gets more experienced, they learn how the decisions they make in their everyday coding can have big consequences on whether software will work properly, keep working properly, and be maintainable by others. Learning how to write good code (from a software engineering point of view) can take many years. These skills are often picked up slowly and in an ad hoc way as engineers learn from their own mistakes or get piecemeal advice from more senior engineers that they work with.

This book aims to give new software engineers a jump-start in acquiring these skills. It teaches some of the most important lessons and theoretical underpinnings of writing code that will be reliable, maintainable, and adaptable to changing requirements. I hope that you find it useful.

acknowledgments

Writing a book is not a lone effort, and Id like to thank everyone who had a hand in bringing this book into reality. In particular, Id like to thank my development editor, Toni Arritola, for patiently guiding me through the process of authoring a book, and for her constant focus on the reader and high-quality teaching. Id also like to thank my acquisition editor, Andrew Waldron, for believing in the idea for the book in the first place and for the many invaluable insights provided along the way. Id also like to thank my technical development editor, Michael Jensen, for his deep technical insights and suggestions throughout the book. And thank you to my technical proofreader, Chris Villanueva, for carefully reviewing the code and technical content of the book, and for all the great suggestions.

Id also like to thank all of the reviewersAmrah Umudlu, Chris Villanueva, David Racey, George Thomas, Giri Swaminathan, Harrison Maseko, Hawley Waldman, Heather Ward, Henry Lin, Jason Taylor, Jeff Neumann, Joe Ivans, Joshua Sandeman, Koushik Vikram, Marcel van den Brink, Sebastian Larsson, Sebastin Palma, Sruti S, Charlie Reams, Eugenio Marchiori, Jing Tang, Andrei Molchanov, and Satyaki Upadhyaywho took the time to read the book at multiple stages throughout its development and provide precise and actionable feedback. Its hard to overstate just how important and useful this feedback has been.

Nearly all the concepts in this book are well-established ideas and techniques within the software engineering community, so as a final acknowledgement Id like to say thank you to all those who have contributed to, and shared, this body of knowledge over the years.

about this book

Good Code, Bad Code introduces key concepts and techniques that professional software engineers regularly use to produce reliable and maintainable code. Rather than just enumerating dos and donts, the book aims to explain the core reasoning behind each concept and technique, as well as any trade-offs. This should help readers develop a fundamental understanding of how to think and code like a seasoned software engineer.

Who should read this book

This book is aimed at people who can already code but who want to improve their skills at coding as a software engineer in a professional environment. This book will be most useful to anyone with zero to three years experience as a software engineer. More experienced engineers will probably find that they already know many of the things in the book, but I hope that they will still find it a useful resource for mentoring others.

How this book is organized: A roadmap

The book is organized into 11 chapters, spread across three parts. The first part introduces some more theoretical, high-level concepts that shape the way we think about code. The second part moves onto more practical lessons. Each chapter in part 2 is split into a series of topics that cover a particular consideration or technique. The third and final part of the book covers principles and practices that go into creating effective and maintainable unit tests.

The general pattern in individual sections of the book is to demonstrate a scenario (and some code) that can be problematic and to then show an alternative approach that eliminates some or all of the problems. In this sense, sections tend to progress from showing bad code to showing good code, with the caveat that the terms

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Good Code, Bad Code: Think like a software engineer»

Look at similar books to Good Code, Bad Code: Think like a software engineer. 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 «Good Code, Bad Code: Think like a software engineer»

Discussion, reviews of the book Good Code, Bad Code: Think like a software engineer 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.