@Vasqueztion The first part isn't that much of an issue, seems to me like magic will just fail silently (aka do nada) if it cant compile. As for the latter, I really recognize that. "I can see a bug right there in the code, so why the hell is everything working?".
Or those spells where you write parts when drunk or severely sleep deprived, and the day after are entirely stumped by how the hell it works, as it invokes arcane secrets when all it should do is add more fire magic to the fireball. When you figure it out after a full day of analyzing that snippet you wrote in a minute, you realize that whoever wrote it was a mad genius ...And then quickly change it to simple if-statements (that you quickly prepared before starting analyzing) for readability's sake, even if it takes way more lines, error-checking and variables. Because who needs genius? Readability is key, and either way works just the same in the end.