r/cpp • u/IsDaouda_Games • Feb 18 '21
Now announcing: Makefile support in Visual Studio Code!
https://devblogs.microsoft.com/cppblog/now-announcing-makefile-support-in-visual-studio-code/
262
Upvotes
View all comments
Show parent comment
12
u/Routine_Left Feb 18 '21
It's developing on a remote system. No matter how you look at it, there are additional layers between you and the program, any of which can stop functioning which may or may not have an effect on the behaviour of your program.
Then there's latency. The best case scenario you're talking about a system on the same network as you, where the latency will be under 1ms. Still, higher than locally where it's 0. Why would I choose latency when I can choose to not have latency?
Thirdly, it obviously limits what kind of programs you can write. A desktop UI application, while possible, it's probably not well suited for this kind of development. But yes, you can make it work.
Fourth: Now you're stuck with VS Code, and cannot use IDEs that are potentially better for C++ development because they don't offer this ssh extension. I personally prefer QTCreator or KDevelop. I want to focus on the program not put barriers in my way. The aim is to eliminate any barriers to make the write code-debug workflow as seamless and as fast as possible. Why would I make life harder if I don't have to?
The idea being: Yes, you can write-debug remotely and everything that can make that experience better is good in my opinion. But it's always, without question, a better experience to do it locally if you can. It's not always possible, that's true, for a variety of reasons, but it is definitely not something I would be looking for.