Twitter | Pretraživanje | |
JS_advice
JavaScript advice
73
Tweetovi
1
Pratim
687
Osobe koje vas prate
Tweetovi
JS_advice 29. sij 2015.
Let’s do it! Angular vs. JVM vs. XML vs MongoDB.
Reply Retweet Označi sa "sviđa mi se"
JS_advice 19. velj 2014.
Local variables slow your code down; use globals and define them at the top of your file. Single character names speed up code x30.
Reply Retweet Označi sa "sviđa mi se"
JS_advice 18. pro 2013.
Don’t you find it funny how only *other* people write crap code?
Reply Retweet Označi sa "sviđa mi se"
JS_advice proslijedio/la je tweet
Barbara Cassani 🔶 🇪🇺🇮🇹🇬🇧 14. pro 2013.
Odgovor korisniku/ci @JS_advice
never comment anything, minify libs in dev and call vars a, b, c, foo and bar. Concede devs the joy of grokking on their own!
Reply Retweet Označi sa "sviđa mi se"
JS_advice 14. pro 2013.
Comment liberally, because your coworkers are morons and can never understand the brilliance of your mind.
Reply Retweet Označi sa "sviđa mi se"
JS_advice 18. stu 2013.
Use CoffeeScript.
Reply Retweet Označi sa "sviđa mi se"
JS_advice 5. ruj 2013.
Confucius say, typeof is operator, not function, stupid.
Reply Retweet Označi sa "sviđa mi se"
JS_advice 5. ruj 2013.
Confucius say, dom is piece of pie to be eaten.
Reply Retweet Označi sa "sviđa mi se"
JS_advice 2. ruj 2013.
Set all your variables to null at the end of every function. Helps free up memory.
Reply Retweet Označi sa "sviđa mi se"
JS_advice 30. kol 2013.
Use 'new RegExp` instead of `/.../` as the latter is susceptible to XSS.
Reply Retweet Označi sa "sviđa mi se"
JS_advice 20. kol 2013.
Why rely on the native JSON.parse when you can write your own parser!?
Reply Retweet Označi sa "sviđa mi se"
JS_advice 17. kol 2013.
I'm gonna need you to go ahead and add a redundant doc comment above every single variable... k?
Reply Retweet Označi sa "sviđa mi se"
JS_advice 15. kol 2013.
Don't just limit yourself to single or double quotes. Use both of them in unsparing and inconsistent fashions.
Reply Retweet Označi sa "sviđa mi se"
JS_advice 13. kol 2013.
Make love, not JavaScript.
Reply Retweet Označi sa "sviđa mi se"
JS_advice 12. kol 2013.
function isJavaScriptEnabled() { return true ? true : false; }
Reply Retweet Označi sa "sviđa mi se"
JS_advice 11. kol 2013.
You can annotate a line of JS to run faster by prefixing with '//'
Reply Retweet Označi sa "sviđa mi se"
JS_advice 6. kol 2013.
LOL some guy told me JSON is not the same as object-literal syntax... HAHAHA
Reply Retweet Označi sa "sviđa mi se"
JS_advice proslijedio/la je tweet
Šime Vidas 5. kol 2013.
Odgovor korisniku/ci @JS_advice
Reply Retweet Označi sa "sviđa mi se"
JS_advice 5. kol 2013.
You know what's better than one var declaration per scope? One var declaration per application. Yup.
Reply Retweet Označi sa "sviđa mi se"