NZNico Zerpainnicozerpa.hashnode.dev·Feb 8, 2023 · 2 min readDon't add or change methods in built-in JavaScript objectsIt is possible to add and modify properties and methods to JavaScript classes and prototypes using the prototype property of the class or constructor function. class Dog { bark() { return "Woof!"; } } // Add a new method to the Dog c...00
NZNico Zerpainnicozerpa.hashnode.dev·Nov 24, 2022 · 2 min readCan "Don't reinvent the wheel" be bad advice?A very common programming tip is "Don't reinvent the wheel". If there's already a library that already does the task you need, why don't you just use that library instead of writing your own solution? Many times, it's a sensitive thing to do: importi...00
NZNico Zerpainnicozerpa.hashnode.dev·Nov 2, 2022 · 3 min read10 beginner-friendly JavaScript projectsProgramming is a skill and you need to practice if you want to become better at it. Creating your own projects is a fantastic way to practice your skill. However, many beginners don't know exactly what projects to create. That's why I created this li...00
NZNico Zerpainnicozerpa.hashnode.dev·Sep 16, 2022 · 2 min readTypeScript: why static typing mattersThe biggest feature that TypeScript brings to the table is static types. But, what are the advantages of static types over the dynamic typing in regular JavaScript? A very common type of bug in JavaScript and dynamic languages happens when you pass a...00