How often has it happened in your professional career where you felt that you knew something but when —
you patiently told yourself — “No, I actually did not know it .”
Because as they say —
thisand everything else.
There are many ways in which we classify programming languages. The programming paradigm is one such way that classifies languages based on their features. Let’s discuss a few paradigms that relate to the current topic in discussion.
Imperative is where a programmer instructs a machine how to change its state. Procedural and Object-Oriented are both derived from imperative programming.
Declarative is where the programmer merely declares properties of the result and nothing about how to compute it. Functional programming (FP) falls under the declarative programming paradigm. …
I’m an Engineering graduate in Information Technology from Savitribai Phule Pune University, (then University of Pune) Maharashtra, India. The 4 years curriculum of Engineering course (2006-2010), hardly scratched the surface when it came to web development. Every student primarily cared either about Java or .Net.
I started my professional career with Persistent Systems Ltd. on 14th of July 2010 and I’ll always be grateful for that. When joined as a fresher (along with around 300 others) we weren’t given a choice to select what technology we would like to work on and I was asked to join a QA team…
Before we jump into the topic — some philosophy (have been reading Naval Ravikant recently 😀 and needless to say it’s the best thing that has happened).
Whom do you review code for?
IMO, we should review PRs for our colleagues and more importantly future ones who might have to maintain the code after we are long gone. We all know, code is written once and maintained forever. …
setInterval (performAnimation, 100);
Here 100 is quite a tricky magical number. It is very difficult to come with this number (delay). It needs to be short enough so that the animations are smooth but long enough to produce changes which browser can render.
An interesting fact to consider here is most monitors refresh screen at the rate of 60Hz i.e. 60 times per second which means 60 FPS (frames per second). Thus, the best interval for animation turns out to be 17ms (1000ms/60).
To create a smooth animation one needs…
Have you ever happened to use rather play with position property? If the answer is YES, you must have understood the use of the word ‘play’ in the previous sentence.
You must have seen element(s) dancing in the window or playing hide-n-seek, as you change the values of position property from relative to absolute,absolute to fixed and so on, in dev-tools.
In order to enjoy the dance of these elements or play hide-n-seek with them, you need to know some of the basics of dancing or the rules of hide-n-seek.
Let’s dive into the details.
Before we begin, an important…
A problem solver | 10+ years of experience in designing and building web apps and UI component libraries | Loves playing Carom | Netflix addict