explainlikeimfive


post-576-thumbnail
Category Vs Design Pattern

In the previous post, we talked about atoms: objects and functions. In this post let's talk about bigger building blocks.

Why Does Two Small For-Loops Run Faster Than A Big One ?

Explain Like I am five Why does two small for loops run faster than one big for loop? s = Date.now(...

post-455-thumbnail
Function Vs Object

There is an ongoing discussion about the difference between object-oriented programming (OOP) and functional programming (FP). Let's talk about similarities instead. Let's talk about the main building blocks: functions and objects.

post-393-thumbnail
Functional Vs Object-Oriented Programming

Programming Paradigms and their uses

How Does Python Handles " In A String When \ Is Not Provided?

I am a beginner in python. I knew that " is a special character and needs \ to print it. But how does...

Demystify Closures

In the previous post we implemented functions, but not about closures. Let's fix this.