To prefix or not to prefix vars in JS? @traversymedia has a 🌶️ take
When you get back into PHP after doing so much JavaScript lol. It feels weird to not prefix my variables.

May 16, 2022 · 5:43 PM UTC

13
25
148
Sort replies: Relevant Recent Liked
feeling confused 😂😂
1
5
I just learned JavaScript and it was so painful😭
4
😂😂 JavaScript forever 👌
2
Java and javascript program 100
20
🙂 77th Happy Independence Day🇮🇳
7
Prefixing is okay, if you like. But PHP isn't 🙃. I used it heavily from version 3 up to 7 and had the chance to move away from it towards js/ts and go. Would never go back to this kind of interpreter.
2
The worst is when you use javascript object declaration in php 😮‍💨
10