Live data from Hacker News

Coding on an iPad Pro in 2019

andrewbrookins.com

11–20 of 196 posts

Re: Coding on an iPad Pro in 2019

#12
I'm struggling to work out why anyone would want to do this. Leaving aside the other concerns, I personally find input via touchscreen pretty painful and can't imagine being able to program at any real speed. It's entirely possible I'm missing something though!

Re: Coding on an iPad Pro in 2019

#13
> You Probably Can’t Run Your Code on iOS Unless It’s Python

What about JavaScript? IIRC React Native uses the JavaScriptCore engine, which Apple offers to "provide the ability to evaluate JavaScript programs from within Swift, Objective-C, and C-based apps". [1]

[1]: https://developer.apple.com/documentation/javascriptcore

Re: Coding on an iPad Pro in 2019

#14
I actually just recently tried to use an iPad Pro for coding (more specifically, I tried to not use my laptop at all for several days, fully replacing it with an iPad).

My experience was that coding was definitely not as smooth as on my laptop, but I took an approach several folks here have called out: using a cloud-based VM and connecting to it remotely. I used the Termius app, which was pretty solid.

I got my initial inspiration from http://yieldthought.com/post/12239282034/swapped-my-macbook-... (and the followup http://yieldthought.com/post/31857050698/ipad-linode-1-year-... )

Re: Coding on an iPad Pro in 2019

#15

I'm struggling to work out why anyone would want to do this. Leaving aside the other concerns, I personally find input via touchscreen pretty painful and can't imagine being able to program at any real speed. It's entirely possible I'm missing something though!

I'd say coding using just a touchscreen would be terrible, but keep in mind that tablets aren't limited to just the touchscreen. In fact, you can plug a full-sized mechanical keyboard into an iPad (though the more common keyboard is likely the smartcover.

Re: Coding on an iPad Pro in 2019

#19
post #7

How is the experience with web IDEs like cloud9 or repl.it?

I was really surprised that many of the web IDEs don't support the external keyboard in iOS.

I haven't tried repl.it, but the ace editor (which cloud9 uses) doesn't support the arrow keys on the external keyboard for iOS which is a deal breaker for me.[1]

Code Sandbox [2] however allows you to select which editor (Monaco or CodeMirror) and CodeMirror has a fix for handling the arrow keys. I've found Code Sandbox works pretty well on my iPad - it has a nice Github integration so I can commit directly or open pull requests from the web IDE.

[1]: https://github.com/ajaxorg/ace/pull/3172 [2]: https://codesandbox.io

Re: Coding on an iPad Pro in 2019

#20
post #14

I actually just recently tried to use an iPad Pro for coding (more specifically, I tried to not use my laptop at all for several days, fully replacing it with an iPad). My experience was that coding was definitely not as smooth as on my laptop, but I took an approach several folks here have called out: using a cloud-based VM and connecting to it remotely. I used the Termius app, which was pretty solid. I got my initi…

I did/do the exact same thing. I have an AWS nano server purely for coding on, and I use tmux/vim on it via Termius. I hadn't consulted the internet for resources, just kinda stumbled my way through it, so good to know I'm not very much alone. It works quite well for what I need it for (systems programming) and there are even better options for web app programming. I haven't explored doing native GUI applications but it can be likely overcome.

Termius is probably one of the best apps I've ever used, period. It's very well-made and well-designed and I had no qualms shelling out for the full version even though I hardly needed the extra features.

I still prefer a Linux/Mac/Windows OS but this is pretty handy once you get the hang of it.

Post reply on HN