Humankind are being able to survive and have a longer lifespan overtime. While life expectancy is different per country, in rich countries like the US, it’s about 79 years. In other rich countries like Canada, life expectancy goes beyond 80 years. …


Sometimes you know you have made a mistake, but you want to hear from someone else to take an action. I was at the Dev Intersection conference this year and have a little chat with Stephen Fluin. I was complaining how long our test takes to finish. It’s taing 40–50…


The story started when you decided to save some data as JSON in the database. Your JSON data may change over time. Now what you do to the existing records that you have in a table? Well, you can really read all your JSON records and update it and then…


One of the main challenges I have had was switching my APP_INITIALIZER to use NgRx & effects. APP_INITIALIZER will delay starting up your application until any required data is available for it. …


Update: This article was written in 2018, and now with typescript version 3.7, you can easily use Optional Chaining which is much simpler and easier to use.

Have you ever seen this code?

if (value !== null && value != undefined && value.prop !== null && value.prop != undefined)

You…

Mohy Eid

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store