You can easily reconfigure keyboard shortcuts in most IDEs. The function key row was never ergonomically placed to begin with. My current keyboard doesn't have one either (ErgoDox).
These actions are also not that important to be able to hit very quickly. Back when I did use function keys, I usually had to look anyway, because they're so far away from home row, and the time between using them is usually quite long. And even though I knew the function keys purpose in an IDE, I would never know them in any other apps, leaving that row useless when not programming. (Well, I use them for volume and brightness control, but again.. it's not a muscle memory action anyway)
I do think fundamentally speaking the Touchbar is the right idea. It's not better for everyone, obviously. But it's probably a bit better for most people. I'm just not convinced it's a big enough improvement to make the added cost worth it. It probably still ends up being mostly unused, which is worse when it's an expensive touch display instead of extra keys.
Personally I'd drop the whole row, maybe but the speakers up there instead, and make the keyboard wider.. put in keys between the two halfs of the keyboard like TypeMatrix or ErgoDox.. but that's never gonna happen