E.E. Cummings might been writing code, with syntactically significant whitespace no less.
e e cummings actually please use the right capitalization and punctuation lol
On the top of Cummings, I have occasionally felt like I was faced with an incomplete set of instructions when reading certain of his poems. Of course, there's no particular reason to liken them to computer instructions; I've never seen anything in the poems to suggest a connection. Anything to link one art with another is a stretch—if we even accept that coding is an art.
(I think code can be, though it isn't as a rule. In the same way, writing can be artful but is typically workaday and unremarkable. This post, for an example.)