So.. technical debt and "hacks" ?:D
"Anthill Inside" 8)
On some computers there's a mysterious file that has all of the (world/universe's)? object variables, such as a person/object's location or height, age, etc, and magic is performed by manipulating those via verbal macros.
New spells are researched by literally programming and debugging.
It's a fun series, but it feels the author's done about as much as he can with it.
It was quite entertaining. But most of what he did was either off-the-cuff, or the book hid the hours and hours of testing and research so that it wouldn't bore the reader.
Unfortunately, I couldn't find the name of the book in my reading history.
Apocalypse: Generic System (Systems of the Apocalypse Book 1)
I haven't read the sequel yet, though.
And in HP people have the innate talent for magic.
"Hey. Don't oversimplify. First you gotta hammer them flat and trap lightning inside them."
This might be my favorite way to describe programming.