Clean Code







Hi again. It’s time for a book review! Let’s start with a question for you first. Have you ever fallen victim to your own code that is several years old and now you have no idea what that piece of code even does and even fever ideas on how to fix it? I sure have, and this is the reason I chose to read a book called “Clean Code: A Handbook of Agile Software Craftsmanship” and to really see how I’ve improved during the years that I have been programming.

This book teaches us the difference between good and bad code and explains how we can write good code. Reading this book, you realize (if you haven’t already) that writing clean code is not only about writing code that works, but it’s about writing code that is easy to read even for an outsider.

The most interesting part about this book was the section where the author even asked several well-known programmers about what they think clean code is. It’s interesting because asking several people brings many views to the table and their opinions actually differed a little. But the main points I gathered while reading this book were that clean code should be easy to read, edit and understand. There were a few functional bits too like clean code shouldn’t contain duplication and it should run all tests etc. Even though I’ve been programming for years and have a pretty good idea of what clean code should look like, it actually surprised me once again how much there is to it!

I really liked this book and I agree with pretty much everything it contained, and I recommend this book to everyone who wants to write clean code. So that should be pretty much everyone in this course. Go ahead and read it!

Until next time!

Kommentit

  1. Important topic! I must admit that I have fallen victim to my own code several times. It's so easy to think that "I'll remember what I was thinking when I made this", only to have no idea when I come back to it.

    VastaaPoista
  2. I have read this book also and I think your review is so good. You clarify the main topic of the book and make that someone that has not read it yet want to.

    VastaaPoista
  3. It's a very up-to-date topic to talk about. Your review of the book is nothing short of fantastic! Great post!

    VastaaPoista
  4. Seems like a good book to read for every developer. Clean summary!

    VastaaPoista
  5. Haha, it is so frustrating realizing that your own past laziness brought you the future problems when coding. Great post, keep it up!

    VastaaPoista
  6. I agree that you should use modular programming in your code and the maintainbility should be a needed practice in software engineering.

    VastaaPoista
  7. I'm happy to hear that you found the book useful! It sure does sound like a book everyone interested in wiriting clean code shoul read. Great post!

    VastaaPoista

Lähetä kommentti

Tämän blogin suosituimmat tekstit

Leaderboards, how?