Live data from Hacker News

Ask HN: Can programming be learnt completely on smartphone?

news.ycombinator.com

1–10 of 75 posts

Ask HN: Can programming be learnt completely on smartphone?

#1
I have enrolled for two EdX courses which involves programming in R and Python.

I am little conversant with Linux environment and have installed GNUDebianRoot app from play store.

Is it possible to complete the courses on only mobile? I am being able to do almost everything right now, which a desktop can perform.

The phone has 2GB RAM and screen size is 5".

Re: Ask HN: Can programming be learnt completely on smartphone?

#8
Probably, yes; the first programmers did not even have keyboards or screens, but rather swapped out the relays manually and checked their voltmeters. But what is the point? You will not be able to complete the exercises as quickly and it will be a pain to download and configure all the software.

You can get a cheap Chromebook for $200, stick Ubuntu on it (https://www.lifewire.com/install-linux-on-chromebook-4125253), and finish both those EdX courses, probably before you can even get R and Python running on your phone. Plus you will be more motivated to finish the courses, having spent $200 and therefore proven your commitment.

If even $200 is too much, I guess you have to ask what you're doing with your life... maybe getting a stable job should take priority.

Re: Ask HN: Can programming be learnt completely on smartphone?

#10
You can learn how to program from books. Phone should be no problem either.

But it is going to be much, much harder to learn how to program anything with any decent level of complexity. Writing everything in a single file? Sure. Writing a java app which has 20 classes? Sounds like hell.

And while linux terminal isn't really programming, sending key combos like ^d sounds terrible on a phone keyboard.

Something else that PCs are much better at is context switching. Being able to alt+tab to documentation, or having that documentation on another monitor would be way better than having to switch back and forth. Although that can be remedied somewhat by using a book as a reference.

Something as simple as typing a constant in Java becomes much more difficult on a phone

private static final SOME_RANDOM_VARIABLE = RandomVariableFactory.getRandomVariable();

is not easy to write on most phone keyboards.

I think the biggest area that you'll struggle is that there isn't really any good IDE, or even editor out there.

I watch videos all the time on my phone which help me with programming. Those are easy. It's the actual doing and writing the code that will be a PITA on a phone.

May I ask why you're trying to program on a smartphone rather than picking up something like a cheap netbook?

Cheers!

Post reply on HN