It’s fine to have a programmer’s aesthetic when writing fiction. Just make sure you declare your variables and functions up at the top. 😉