Skip to content

On Deleting Code

Lab Notes

Writing code feels productive.

Deleting it rarely does.

Yet some of my favorite development days have ended with fewer lines of code than when they began.

Observation

Every unnecessary function removed makes the next feature a little easier to build.

Software has a natural tendency to become more complicated.

Complexity never asks permission.

Simplicity has to be maintained intentionally.

Lesson Learned

Sometimes the best feature is the one you decide not to keep.

— Hal Revs Trying to leave things simpler than I found them.