I had to replace my 2015 MBP last week, because the kb started failing (it wasn't one of the ones eligible for a free repair, sadly, and I can't live without a machine for however long it takes them to fix it anyway). I was really torn, because although I could reluctantly live without the function keys, the escape key is a complete dealbreaker.
After much debate I decided to take a chance on a surface book. I figured I'd try it, try and get my dev environment in a decent place, and see how I felt about windows after 30 days, with the idea that I might have to return it if things didn't work out. I'm 6 days in, and I can pretty safely say there's no way I'm going back to apple. Windows has managed not to suck at all, my dev environment is arguably better than what I had before, and I'm absolutely loving the machine itself. Most joyful new laptop experience in many years.