It's not on the quality level of these books, but the Off to Be the Wizard series of books are humorous programming-as-magic tales that skirt the sci-fi/fantasy line. [The fulcrum of the story is that there is a computer file "out there" that reflects reality; those who find it can edit it to do all kinds of "magic". Hilarity ensues.]
Been a while since I read those! I love the description of how they try to figure out program the file to allow them to "fly / hover in place".
this sounds intriguing, thanks!