Same on a Mac: I've never used a function key in the last … 15 years or so? Where the author uses Alt-F4, I use ⌘W. I didn't even hate the Touch Bar (but not exactly used it either.)

VSCode binds a lot of basic commands to function keys, so I'm always doing Fn-F12. That seems like a weird choice, and if it really bothered me, I could remap it, but so far I haven't.

VSCode is a Microsoft product (as is Excel, mentioned elsewhere) and Microsoft products work best on Microsoft platforms.

Mac is not a Microsoft platform though.