Excellent point. I had forgotten about this. I work for a non profit so I’m ok, but yes you should absolutely check the terms of the license before using. On the upside, almost everything is markdown files in regular folders, so you can fall back to vim anytime.
You don’t say what type of programming you do, or if you’re just learning or developing professionally, but maybe something fully online would work? For example repl.it, stackblitz, or Visual Studio Code for the Web.
I second the suggestion for getting a Bluetooth keyboard for the iPad.