Did you try to code from your phone?

EG24SbrXkAEEJmc.jpg

While surfing the internet, I saw a lot of people posting pictures coding from their mobile phones.

So... Hashnoders, did you try to code directly from your phone?

If YES, how was your experience? 馃摫

If NO, what was the reason why you didn't try it?

Let's discuss 馃挰

Yes

Nope

Comments (15)

Marco Alka's photo

yes. I downloaded a C compiler toolchain and an IDE app (running a rooted RR Android). It works, and modern phones are surprisingly capable when it comes to compile times. Was it fun though? NO. After painfully writing a hundred lines of code, I gave up and removed everything.

I would try again with a docking-station, which has a 25"+ monitor and a keyboard attached, though.

Gergely Polonkai's photo

Yes, i often do it, although i tend to do quick fixes/small updates there.

I have Termux installed on my Huawei P20 Pro. Emacs performs pretty good on it, even with all my packages installed. Hacker始s keyboard with the Dvorak layout is pretty close to my physical layout.

Still, it始s far from optimal. The screen is not wide enough in portrait mode, and not high enough in landscape mode. Emacs, in this scenario, is text-only, so a lot of graphical geekiness is lost. Running our Flask app is OK(ish), but i obviously can始t run my desktop apps.

So yes, it is possible. But don始t do it without an external monitor and keyboard.

j's photo

I did work with SSH via phone. But coding without a keyboard is not how I tend to work. :) So no .... but the phone is not the issue ... it's the input option and display.

At least for me

Michaela Greiler's photo

I have never tried to really program on the phone. Yes, fixing small issues here and there is surely possible, but I would not like to actually program. Seem super cumbersome. But, happy to learn about how others do it.

wusatosi's photo

No, because I think it would probably be bad.

Think about that, touch-screen keyboard combined with literally the smallest screen you can get that sounds like the worst coding experience. Not to say the fact that, if you hold the screen vertically, you may not see all of the characters in one line; if you hold the screen horizontally, your touch-screen keyboard will occupy most screen spaces. Come on, everyone used SSH on your phone sometimes and know how it feels.

I'll tolerate reading source code on my phone, but coding.. at least on an iPad.

Panagiotis Peikidis's photo

Yes! More than once! Sometimes because I want to play around with new tools and see where the industry is, sometimes you really really have no other option XD

The experience was not great when I wanted to create something substantial, but it worked good enough for that one line bug that HAD to be fixed ASAP.

I think the main issue for me is that I'm not comfortable programming on anything other than my home setup (which is pretty beefy). I'm even uncomfortable on my laptop.

Janine Valenzona's photo

I did try this app Dcoder. It is really difficult to code from my phone but the only reason I downloaded it is because I wanted to improve my logic skills by trying some of its algo solving items even when I am not with my laptop, just chilling somewhere or in the middle of a traffic jam.

See here: https://play.google.com/store/apps/details?id=com.paprbit.dcoder&hl=en I don't know if it's available to IOS

S茅bastien Portebois's photo

My first answer was No, because I don鈥檛 even want to try. I make enough typo with the mechanical keyboards I鈥檓 used to, I don鈥檛 even want to start thinking about how I鈥檇 type on a phone :D But the most interesting answer I could make is: Why? (implied: Why would I want to code on a phone?) A phone is a nice device on the go. So the question is why would I have to code something on the go? The most likely answer is: because something needs to be done right now. And now is the interesting part:

  • if it doesn鈥檛 really require to be done right now, then chances are that if you wait to do it from your usual setup, with your usual tools, the code quality will either be better, and/or you鈥檒l achieve the task faster. So why do it with a sub-optimal setup?
  • if you know you might get a request that might force you to jump into a code-related activity asap, then there鈥檚 a long history: it鈥檚 called being on-call. And in such case, I except my on-call teammates to be a few minutes away from their laptop. If it鈥檚 really urgent, it鈥檚 because it鈥檚 related to prod. And nobody wants to use a trimmed-down experience when you need to investigate and fix production issues. When I鈥檓 on-call, I always make sure my laptop is a few meters away, battery charged and a reliable internet connection is available. And when I鈥檓 not on-call, or the issue isn鈥檛 prod related... then it can wait ;D

I might miss a valid use-case, but the truth is: I don鈥檛 see the problem we solve with such tools.

yunfan's photo

try termux if you were using a android device

buy a android device if you were in otherwise

Jude Chinweike obiejesi's photo

No, i've never thought of it because i feel it's going to be a bad idea. My phone screen will not be wide enough for me to see my codes in the lines properly

Adigun olamide's photo

Worst experience ever I could not think properly messages kept coming and other phone activities ion know how people do it! But damn it's hard

Daniel Don's photo

Yes I did! I actually started writing code with my mom's phone ( I didn't even have an android phone then 馃槄), I was learning python then and I'm really grateful for those times, because I pretty much learned basic programming rules and principles, including loops, conditional statements, etc. and built some terminal applications, until I got to the point where a 'phone' couldn't help me anymore馃槄馃槄

Pankaj Patel's photo

Yes I did and it was a mixed experience.

It was the time when I started working and I had a commute of minimum 45 min one way; I had to fix few things or check some things in the code and using a phone was one of good ways to utilize the commute time.

It was mostly centred to JavaScript, so was an experience. If would have to do it again, I would rather wait for computer to be available; though I still read some code here and there on my phone.

Caleb H.'s photo

Yup, and it wasn't fun! The keyboard was tiny, and it was difficult to find characters such as backtick or backslash. Plus the autocorrect was annoying...I know you can turn that off, but I still prefer using my phone for communication, and my computer for work.

I would be open to trying coding on an iPad with a keyboard, however.