This is why I don't use IDEs
I type some stuff, realize that JSON wants the thing to be a string, so I add a " to the end of the line. The IDE adds two "s instead of one.
I notice after I go back to the beginning of the line, and have added a " at the beginning of the string.
Fine.
I go to the end of the line, and I remove a "
I run the thing
Turns out the IDE removed both "s
Because fuck you
like this
emptyother 🇳🇴 reshared this.
Martijn Vos
in reply to silverwizard • • •Stupid behaviour around quotes keeps surprising me. If it's smart enough to analyse the code, surely it should be smart enough to see that the quotes are meant to go around the bit that's not valid code?
I do use IDEs, and they're often very helpful, but sometimes they're trying to be a bit too smart for their own good, and failing badly at it.
silverwizard
in reply to Martijn Vos • •@Martijn Vos To be fair to IDEs, I'm very rarely writing code. I'm always writing config, and editing some small things.
But also, what is code is a really hard questions
But yeah - I am entirely in nvi whenever I can
silverwizard
Unknown parent • •silverwizard
Unknown parent • •silverwizard
Unknown parent • •I'm currently considering using edbrowse but too busy to onboard a new simple tool