I love my iPad Pro for several purposes -- media consumption, some light gaming, reading, managing media / bookmark / book collections -- but it would never occur to me to code on it (even through shells to Linux).
I am not fully comfortable even with my MacBook Pro. I am working on building a work process that doesn't rely on a mouse or a touchpad and then I could work on the MBP full time (mostly involving memorizing shell and editor shortcuts, and making a lot of shell aliases).
Before that there's simply no point -- it's like trying to run with weights on your ankles.