Object-Oriented Programming is a design philosophy also known as OOP. Object-Oriented Programming(OOP) uses different sets of programming languages than old procedural programming languages(C, Pascal, etc.)Everything in OOP is grouped as self-sustainable “objects”. Hence you gain reusability by means of OOP concepts.
OOP allows the decomposition of a problem into a number of entities called objects and then builds data and functions around these objects. Data cannot be accessed directly, they are only accessible through the member function. There might be a number of objects in a program written in OOP language. Those objects can communicate with each other by calling…
Storing data in the various storage options is very useful. But it is very difficult to know which storage option is best for a particular use case. So let’s discuss what are the differences between each option.
They all are used to store information on the user’s browser which can be accessed even after navigating to new pages on your site.
This data is also saved to the user’s exact browser they are using so if they have your site open in any browser, it will only save the data to that browser on the device they are currently on…
A higher-order function is a function that receives a function as an argument or returns the function as an output.
Taking other functions as arguments is often referred to as a
.reduce() etc. are the some built-in higher order functions.
Everyone makes mistakes, so here are the six most common mistakes that help you to polished your code.
coercion can be incredibly…
Git is a distributed version control system (DVCS), also known as decentralized. Git was initially designed and developed by Linus Torvalds for Linus Kernel development. Git is free software distributed under the terms of the GNU General Public License version 2.
Every developer has a full copy of the repository which is hosted in the cloud.
sudo apt-get update
sudo apt-get install git
Download from the official page.
git init [project_name]
git clone [url]
Keep your code readable, changeable, extensible, and maintainable. 😊
The code is clean if it can be understood easily by everyone. Clean Code can be read and enhanced by a developer other than its original author.
The benefits of writing clean code are:
Here are some of my tips for coding standards.
Always use const which stops developers trying to change that shouldn’t and really helps with readability.
Tech Enthusiast | Student