If you writing a lot I think the surface pro 4 is a bad choice, the keyboard is quite bad I think.
If you really like a convertible and you have the money maybe take a look at the surfacebook still not a great keyboard but definitely better.
If you just want a touchscreen I would recommend the xps 13 in my opinion a lovely laptop.