Skip to content

Instantly share code, notes, and snippets.

View ThisTemba's full-sized avatar

Temba Mateke ThisTemba

  • Philadelphia, PA
  • 08:45 (UTC -05:00)
View GitHub Profile
@ThisTemba
ThisTemba / cleancode.md
Last active November 17, 2022 14:00
Some thoughts on how to write clean code

Clean Code

By Temba Mateke written in November of 2022 (unless I updated it later and forgot to update this caption)

Introduction

This is a collection of my thoughts on what clean code is and how to write clean code. Think of clean code as the opposite of “but it works” code. “But it works” code is code that that makes no sense, is extremely hard to edit, and is very sensitive to small changes. Clean code makes perfect sense, is easy to edit and easy to fix when something goes wrong. Clean code saves everyone time and heartache.

Notes