This is an opinion question. If you were to write code using your iPhone, Blackberry, MID, PDA or whatever small-screen, no-keyboard device you have... how do you see the UI working best? I do not mean writing app for the small device, I mean using the small device instead of a PC/notebook/netbook to actually do he programming work.
I cannot see using a touch screen virtual keyboard - too clumsy. Possibly a lot of code snippets bound to virtual key sequences would work better, but still a lot of typing. If it could be done, a graphical coding method might work well because most small devices have a well developed GUI.
How do you imagine writing code on a small device?