DEV Community

Discussion on: What's that piece of code that you have to Google *every time*?

Collapse
 
dmahely profile image
Doaa Mahely

Literally all string and array functions since I switch between 3 languages a day. My latest one was the syntax for uppercasing a string in JavaScript.

Collapse
 
vtrpldn profile image
Vitor Paladini • Edited

I still have some muscle memory from PHP times so I always try Array.explode() and wonder why it is not working before remembering that it's Array.split() in JS 😩

Collapse
 
wulymammoth profile image
David

LOL! I hadn't worked in PHP in so long and I've completely forgotten about this.

But now it's a bit of a solved problem unless you're using an old editor like Notepad++, Sublime, or Atom. The editors that are timeless (sans Notepad++, and emacs), all seem to have decent LSP (language server protocol) support now to provide "intellisense" for auto-completion and linting at minimum.