When I was young and poor, I used to code on an Asus EeePC with a 9" screen and half sized keyboard. It wasn't ideal but actually, it was fine.