Learning Path for Programming Journey. Start Now
Avatar

Vijay Khatri's Posts

Vijay is enthusiastic, passionate and curious, He is always looking for new solutions by continuous learning. Currently, he is working as a Digital Marketing Specialist.

Python vs Javascript

Both Python and JavaScript are two of the most popular programming languages as of now. Although both are object-oriented programming languages, their scopes are different. Python and JS have a lot in common but with some significant differences.

There are ample job opportunities available for both Python and JavaScript developers. Hence, choosing one of the two programming languages for starting a coding career is a good option.

Read more

JavaScript Map

A Map is a collection of elements in JavaScript in which each element is stored as a KV (key, value) pair. It is possible for a JS Map object to hold both objects and primitive values as either the key or the value. Elements in a Map object are iterated in insertion order.

When iterating over the Map object, a key, value pair is returned in the same order as it was inserted i.e. it remembers the original insertion order. The general syntax of creating a JavaScript Map object is:

Read more

Python While Loop

Loops are an indispensable part of learning Python or for that matter, any programming language. They are used when there is a requirement for repeating a specific block of code or set of statements more than once.

There are three types of loops supported by the Python programming language for meeting a different set of requirements, namely for loop, nested loop, and while loop. Typically, the while loop is used in situations when the total number of iterations required is unknown beforehand.

Read more