Sadly I can't use a terminal or VSCode on Android so I can't use it as a development environment.
You can also connect a usb-c hub if you want hdmi in and out, network etc. It's even possible to drive 3D printers directly over USB.
As an additonal bonus, for Galaxy Notes and some newer S devices you can use a stylus for art, signing PDFs etc. They also support splitscreen multitasking and virtual desktops which is quite practical if you work from the terminal (emacs).
Certain phones can be very good replacements for a computer if you require the portability.
[0] https://dev.to/codeledger/how-to-get-visual-studio-code-to-r... [1] https://github.com/cdr/code-server [2] https://termux.com/