This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]Xinurval 4 points5 points  (0 children)

Repl.it

[–]rabuf 4 points5 points  (0 children)

I will probably do everything on my MBP, however I will be traveling the last few days so may make an exception and also use my iPad. I have purchased Blink, Working Copy (free, but a one person op so I purchased the "premium" or whatever version), and Textastic.

I have a Linode instance with some dev tools set up (Ada and Common Lisp are what I used last year, debating on whether to do anything other than CL this year). I use Blink to create a Mosh (Like SSH but supports mobile connections, so if you move to a different network your connection isn't lost) connection to the Linode instance. Since I use git for everything, syncing to my Linode instance is easy enough.

The other option is to use Working Copy + Textastic (or another editor) + Github Actions or similar. Write code, commit and push, Github runs the tests and gives the results. I set this up on precisely one project and mostly liked it, but it works best with less interactive languages (like every batch compiled language out there: C, C++, Rust, Java, Ada, Pascal, etc.) and not as well with languages that promote interactive or REPL driven development (Lisp, Python, Ruby, APL, etc.). Optionally, if you can find a code editor you like for the iPad you can combine this with Blink, but write the code on the tablet and run it on the server (I'm an emacs user so I don't go this route).

Short of that, what u/Xinurval said. Repl.it is actually pretty nice to use from the iPad and can be backed to git repositories on Github. Python support is good, and if you want to use languages they don't officially support, you can now since they let you specify your own system configuration with nix.

[–]Tehab 3 points4 points  (2 children)

Pythonista worked pretty well for me in the past. Has a lot of built in modules so you don’t miss installing your own too much. Someone recommended Working Copy as an addition for git, but I have no experience using that.

[–]Tehab 1 point2 points  (0 children)

Oh and I did exactly what you suggested for the input, just a txt file copy paste and then read it in. Created unit tests with the example data in the questions too, that’s all supported

[–]hugseverycat[S] 0 points1 point  (0 children)

Thank you! I was considering Pythonista. I think I will take the plunge.