About 981,000 results
Open links in new tab
  1. 5 JavaScript Bad Coding Habits to Unlearn Right Now

    Jul 10, 2019 · When reading JavaScript code, have you ever had the feeling: that you barely understand what the code does? the code uses lots of JavaScript tricks? the naming and …

  2. The Top 10 Things Wrong with JavaScript - Medium

    Jan 29, 2016 · 4) JavaScript is seriously abused. Much of the code in the wild, especially those in commonly used libraries, are very badly written. The authors have abused the language every …

  3. Various really bad JavaScript · GitHub

    Feb 11, 2025 · Object.defineProperty((function(){return this;})(), 'z', {get: function(){console.log('bad')}}) y = 1; // prints 'why' z; // prints 'bad'. yes, this is a bare variable …

  4. GitHub - rustygreen/interview-code-reviews: A sample of "bad" code

    This repository contains a number of coding examples, with various degrees of code problems. The point of this repository is to provide code for a "mock" code review that will let individuals …

  5. What are some things you consider as bad practice in JavaScript?

    Dec 18, 2021 · For Javascript specific bad practices it comes down to not being explicit enough. The worst practice is to rely on the language hidden “gems” without understanding them. …

  6. The best examples of bad code I’ve come across production mode.

    Jul 23, 2020 · But it is the best example of shitcode. What The Hell. 2-in-1. Custom padStart and “validateAuth” Simple navigation. Conditional statement, local language e.t.c. Vue.js like hell’s …

  7. The Dark Side of JavaScript: A Bad Code Example to Avoid

    This example illustrates how a small mistake or bad coding practice can lead to poor-quality code that is difficult to maintain or reuse. As developers, it's essential to prioritize good coding …

  8. JavaScript coding technique or bad code? - Stack Overflow

    Yes, your two examples are "equivalent", the && operator performs short-circuit evaluation. If the first operand expression yields a falsey value (such as null , undefined , 0 , NaN , an empty …

  9. 10 JavaScript Bad Practices You Should Avoid - Dev Genius

    Aug 30, 2023 · As an experienced JS developer, I want to share 10 common anti-patterns and bad practices that you should avoid in your code. 1. Using eval() The eval() function allows …

  10. 5 programming bad practices in JavaScript | by Zahirul Haque

    Mar 1, 2018 · Here, I will discuss about 5 bad coding practices examples that can make someone’s code smell. 1. Not following proper naming convention: The above is an example …

  11. Some results have been removed
Refresh