Skip to main content


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
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.
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
Unknown parent

silverwizard
@Jonathan Lamothe Gah - bash is so messy 😁
Unknown parent

silverwizard
@Jonathan Lamothe I'm a "does less fancy shit" type - but mksh on Linux and oksh on MacOS, and of course, ksh on OpenBSD is my ideal shell
Unknown parent

silverwizard
@Jonathan Lamothe Yeah - mksh, nvi, and so on.
I'm currently considering using edbrowse but too busy to onboard a new simple tool