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.
94
138
2K
30
0
13
24
143
5
0
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.
0
0
5
0
0
This post is unavailable.
The worst is when you use javascript object declaration in php 😮💨
0
0
0
0
7
United States Trends
- 1. Eagles 58.5K posts
- 2. Tulane 21.4K posts
- 3. Josh Johnson 3,351 posts
- 4. Jake Elliot 3,618 posts
- 5. $ENX 2,423 posts
- 6. Saquon 7,213 posts
- 7. Ole Miss 16.2K posts
- 8. NFC East 6,324 posts
- 9. Steen 3,550 posts
- 10. Ringo 15.8K posts
- 11. Jordan Davis 1,060 posts
- 12. Dan Quinn N/A
- 13. Mariota 3,087 posts
- 14. Shipley 1,773 posts
- 15. Oregon 19.9K posts
- 16. Miami 113K posts
- 17. #RaiseHail 2,172 posts
- 18. #PHIvsWAS 1,535 posts
- 19. Tank Bigsby N/A
- 20. Top G 123K posts
Loading...
Something went wrong.
Something went wrong.