JavaScript Callbacks vs Promise vs Observable in Plain English

If you are a web developer starting out you have most certainly heard of these terms. Before we get to compare these concepts let’s talk about why would we need these at the first place.

Let’s say we are writing a front end application that fetches apples from a server. However, let’s assume the response we get back is delayed by 2 seconds or so. We mimic…

--

--

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
Shadid Haque

Shadid Haque

Software Craftsman | Entrepreneur | Freelancer. Always on the look for opportunities to make the world a little bit better with technology.