18 September 2024

Blind spots

We all have blind spots for what we can do in programming.

For example, I used to think it was completely inconceivable to have files like SomeClass and SomeClass2, where SomeClass2 is an upgraded version of SomeClass but some old code still needs to use the original SomeClass. Obviously this isn’t an ideal situation, but it’s an option for situations where you don’t have time to do a full refactor.

Naming things in completely human-readable, descriptive form is something I think a lot of people have an inbuilt bias against – as if the names of technical things have to be technical-sounding. Similarly for folder structure. You could even put spaces and punctuation in filenames and folder names.