5 JavaScript Bad Coding Habits to Unlearn Right Now
Identifies and explains five common JavaScript coding anti-patterns, such as implicit type conversion, with actionable fixes to improve code quality.
Dmitri Pavlutin is a Senior Frontend Developer with 10+ years of experience, specializing in JavaScript, TypeScript, React, and Vue.js. He shares practical tutorials and insights on modern frontend development, UI/UX, and application architecture.
176 articles from this blog
Identifies and explains five common JavaScript coding anti-patterns, such as implicit type conversion, with actionable fixes to improve code quality.
A guide to using JavaScript's forEach() method for array iteration, covering syntax, parameters, and best practices.
A guide to using object rest and spread properties in JavaScript for cloning, merging, and updating objects with clear examples.
Explores 7 key architectural principles for building reliable, maintainable, and reusable React components, focusing on design best practices.
A guide explaining what 'undefined' is in JavaScript, detailing common scenarios that create it, and offering practical tips to handle it effectively.
Announcing Voca, an open-source JavaScript library for comprehensive and modular string manipulation.
Explores how to use Swift's addition operator overloading for expressive code, covering numbers, strings, arrays, and ranges.
A guide explaining when and how to use the 'self' keyword in Swift programming, covering clarity, brevity, and mandatory vs. optional usage.
Swift programming guide on initializing arrays and dictionaries using literals and shorthand syntax for cleaner code.
Explains the use of the underscore (_) keyword in Swift for omitting argument labels and ignoring tuple components to reduce code verbosity.
A guide to writing clean, readable code by using clear and explanatory function naming conventions, inspired by Shakespeare's prose.
A technical guide exploring Swift's Unicode-compliant string handling, focusing on CharacterView and encoding-specific views for developers.
A guide to migrating Swift 2.3 code to Swift 3.0, focusing on replacing C-style for-loops and operators with modern Swift alternatives.
Discusses balancing trendy tech with core programming fundamentals like algorithms and clean code to master software development.
A guide explaining Unicode fundamentals and how JavaScript handles characters, including common pitfalls and ECMAScript 2015 features.
Explores best practices for writing clean, small, and maintainable functions in JavaScript to improve code quality and reduce complexity.
Explains how to use Object.values() and Object.entries() to easily iterate over object properties in modern JavaScript.
A guide to modernizing JavaScript code by replacing old ES5 patterns with cleaner ES2015+ features like template literals.
A guide to modernizing JavaScript code by replacing ES5 hacks and workarounds with cleaner, native ES2015+ alternatives.
A guide to JavaScript's well-known symbols, explaining their unique properties and how to use them to define custom object behavior.