<aside> 💡 In the long dark of Winter 2024, I went down a programming rabbit hole. It wasn’t at optimal mental health, I don’t think this particularly helped, but I learned a lot.

This is the story of one programmer Quietly Going Insane With Tools & Automation:

Quietly Going Insane With Tools & Automation

Strings, Actually, Do Not Exist

Suffering: The First Two Weeks Of Zig

</aside>

As a programmer, I sometimes go a bit off the deep end.

This is a story about me doing just that, this week.

The Triggering Event

Unreal has this awesome feature called Live Coding which will hot reload C++ compilation changes into the Unreal Editor without having to restart the editor.

Anyone who dislikes this feature has not considered the alternative.

But it is a bit janky, as I describe in Actually Writing Some Damn Code :

<aside> ‼️ I create a variable using one of my data structures:

nextNote.png

Compiles green, I save all, all good.

Restart Unreal:

NextNoteGone.png

With the helpful compiler message:

compiler.png

Cool.

Real Cool.

That’s cool.

</aside>

Modern Solutions for Modern Problems

My understanding is this is caused by the Live Coding compiler adding layers and layers of my garbage changes until something breaks.

Like a true developer, my first thought is to nuke the problem from orbit.

Such is the recommended fix found on the Unreal Dev Wiki:

Cleaning Your Project | Unreal Engine Community Wiki

Delete a few folders, and we are SO back?

This is the way.