D.R.Y, which stands for "Do Not Repeat Yourself", is a principle of software development aimed at reducing the repetition of code.
Articles
Advice to Junior Software Engineers – from a Junior Engineer
As a Junior Engineer you're at the baby stages of your career - learning a lot, and full of passion. Recognizing that this is a time for growth you may ask yourself "what are the things that I can do during this important time in my career to help me along my journey?". Here are…
Caching in NodeJS with Redis
Speed performance is critical in modern day applications. Most of the times your application may have to make requests to an endpoint/server to get some data. Or your application may frequently request a specific dataset. Depending on the size of your dataset a long with other things like query database and network speed, the speed at which your application can fetch certain data to display to users may get slower over time (as data increases). This is where caching comes in handy and can dramatically improve your application's speed.
JS call, bind, and apply methods
Each JavaScript function has access to the this keyword. The this keyword references the object to which the function belongs (remember, everything in JS is an Object). The value of the this keyword is determined by how/where the function was executed. This means that if we are not careful we can lose the scope of what this is actually pointing to. Luckily, all JavaScript function object has access to some very special methods which we can use to explicitly state what this should reference. These methods are bind(), call(), & apply(). In this article we take a refreshing look at the bind(), call(), & apply() methods. Enjoy!
Creating JS objects that has no prototype
We know that All JavaScript objects inherit properties and methods from a prototype. For Example: Date objects inherit from Date.prototypeArray objects inherit from Array.prototype What if you want to create an Object that does not have a prototype? Here's a neat little way to do it: const blankObject = Object.create(null) When creating objects using Object.create(),…
Tester’s mindset [ as a Dev ]
In this article I'll talk about the difference in mindset between a Developer and a Tester, the benefits of testing, how Developers can adapt a Tester's mindset and the benefits of doing so. Let's dive in!
Mastering localStorage
LocalStorage is a web storage which allows you to store and access data as key:value pairs inside a Web Browser using JavaScript. Data stored with localStorage is permanent and stays forever unless deleted manually or programmatically
Let’s Create A URL Shortener
Chances are you've heard about or used URL shortening services like bitly, and tinyurl. These services allows you to enter long (and quite ugly) URLs and in turn gives you a very short (more appealing) link which you can use instead of the long URL. Shorter links takes up less space and are easier to share and type
JavaScript Objects – Basics
A JavaScript object is a variable which can contain many values. These values can be represented using name:value pairs (name and value separated by a colon). These named values are either referred to as properties or methods, depending on what's stored in them. OBJECT PROPERTIES Most objects contains at least one property. Properties describes the…
Keep At It!
Dealing with doubt and change as a techie. With a pat on my shoulder, the teacher looked at me and said "keep at it!". What? I asked myself. Am I coming to university to hear such nonsense from a teacher? At that time I had no idea how impactful this simple phrase could be. As…