Add a keyboard and your iPad become a very capable desktop. Or a laptop, if you’d prefer. Don’t fall into the trap of thinking that an Mac is the only right choice if you want a keyboard. iPad is a ...
I've come to a situation where I have a desk that is used by more than one mac (though never at the same time). The desk is set up with a nice USB-C/TB3 dock with stuff attached (audio, ethernet, ...
Typing comfortably on a Smart Phone is best done using an external keyboard, especially if you spend a lot of time on IRC or use other chat apps. Obviously, the keyboard needs to be portable too.