First-class functions in JavaScript
JavaScript edition
JavaScript edition
At some point, you might have encountered Object.defineProperty() in someone’s code. It might be through an Angular, React, or Vue project. However, Object.defineProperty() isn’t actually specific to any of the listed framework/library. It’s actually part of vanilla JavaScript. Vanilla JavaScript is the foundation of...
Here's a quick summary and 5 common design patterns in software development that will make your code suck less and reduce the number of pesky bugs. 1. Singleton: Ensures that a class has only one instance and provides a global point of access to it. 2. Factory: Creates...
Not everything is an object. When it comes to functional programming, it’s more to do with the processes that get you from point A to point B than how data and groups of business logic are structured. JavaScript is a language that’s prone to imperative patterns because of...
CSV is convenient. The likes of Excel, Google Docs, spreadsheet export functions, and reporting applications all support CSV in some capacity. CSV works well with large data sets and the major perk is that it can easily be converted to other formats such as XML or JSON. This is where...
It’s easy to fall into a habit of being comfortable. When it comes to coding, productivity can be improved in two ways — getting good at the language you’re working with or upgrading your environment and processes incrementally.