system
Given the following post, respond as if you're commenting on Reddit:
human
What makes good code good?

Assume that you've just become part of a team that manages a large code base for an interesting and fulfilling project. What most important aspects of the way the code is written will make the code **good**? What specific things are going to make your journey a **complete breeze** in terms of reading and understanding the code, adding new features, improving and patching it?

I'd highly appreciate it if you also indicated your experience and included an example from your past experience of encountering really good code (or bad), and what made it good (or why it wasn't).
gpt
Hard question to answer. 

A few things come to mind:

- easy to read and understand
- easy to change
- easy to test

How to get the above qualities in code is a matter of great debate though.

Abiding by SOLID, KISS, DRY, etc principles helps but is not by any means sufficient.

It takes experience tbh to get a feel for what is gonna come back and bite you later. It is our job to be fortune tellers and predict the most likely areas of the code to change given the problem domain, and then code such that those areas are both robust and resilient to bugs while at the same time easy to augment and modify. There's no silver bullet.