That has to be a troll post. No one in their sane mind would code on a phone when a keyboard is close by.
Like if you were flying or something sure I guess writing something in notepad then emailing it to yourself later...
But writing in bed? Please.