Arrays and vectors in C++

An array is a linear data structure which stores a collection of elements stored in contiguous memory. If you come from a JavaScript background, you might not notice the problems that I want to discuss today. I was in the same situation, when I was learning C++. I was asking myself, “Really ? Is this […]

Coercion is JavaScript

Coercion is the phenomenon that implicitly converts a value from one primitive type to another. Many times we need to convert a particular data type to another data type. If you have programmed in C/C++ or Java, you are more likely to encounter type casting where you have to convert a variable from one type […]