4 ms·
Languages and IDE come and go, vim remains. It is enough to learn it once (so common things are done without additional thinking) and use for different language
by citrin_ru 3y ago
Languages and IDE come and go, vim remains. It is enough to learn it once (so common things are done without additional thinking) and use for different languages. It is also one of very few editors available for all desktop and server OSes I used over the time. I tried to use IDE and Java is the only case where my productivity was crippled without it (C# probably would be the same but I haven't used it). I don't deny IDE have lots of useful features. I just don't feel I need them.
- 9dev 3y agoYou could make the same argument for using console logging instead of debuggers, and many developers get along with that just fine. Yet they’re missing out on a lot of productivity they never knew was able to be gained.
- citrin_ru 3y agoDebug logs and debugger not replace but complement each other. And while in many situations it is possible to debug without a debugger by adding print-s reverse is not true - I see no way how a debugger can replace logs. Though good debug logs are rare nginx and postfix are rare examples where debug logs are really useful (may be bad debug logs is why this tool got bad reputation). What to some extend can replace debug logs is tracing which allows to logs events on demand, when you really need them. E. g. Dtrace can be used both for kernel and userspace via USDT (but Dtrace was not invented h̵e̵r̵e̵ on Linux), bpftrace can instrument kernel but unsure about userspace.
- dontlaugh 3y agoThankfully most IDEs have pretty good vim modes nowadays.
- citrin_ru 3y agovim mode definitely helps, but still it is not the same as using vim directly. My vimrc is small compare to what I see people share but still has 180 non-comment lines, the same with plugins - only a few but I really use them.