How’s taking care of writing names of functions, classes, and variables can help you in writing an efficient, clean, and readable code?
Whether you’re new in programming or a professional in it, you have to know about documenting and writing clean code.
Writing code is a different thing, but writing clean and readable code is also another one.
Now, what is readable code?
Suppose you’re reading a book that is without headings on paragraphs and instead of well-formatting, there is no separation in paragraphs, and those are also in a confusing order. What would you feel?? It can be quite…
Data Structures is an effective course in the computer science field. Data Structures are widely for simple as well as complex computations. Data structures are used in all areas such as AI, graphics, Operating systems, etc.
Now The formal definition of data structure is:
“ Data structure is a particular way of organizing data in a computer, so that it can be used effectively.”
Big companies like FAANG (Google, Amazon, Facebook, Apple, Netflix), and Microsoft mainly focus on data structuring and algorithms skills of their software engineers in the hiring process, instead of familiarity or expertise in modern technologies. Because…
Today We’re going to discuss cin object with >> operator in detail in C++.
Let’s see an example first by a part of the code below!👇
At line no 7, the program will require an integer for the variable (var) from the user via some input device (most likely Key-board) and stopped further execution of the program until the user provides input.
Let’s suppose we enter 31, and you can say that it assigned to a variable (var) or stored in the memory location of var. …
As you know Ramzan is near to us, and we have to get prepared for it as early as possible. It is a month of forgiveness of Muslims, the mercy of Allah, and savage from Hellfire. All the Muslim communities in this world restrain themselves from eating at specific intervals and bad deeds. They tried their best for pleasing Allah.
I’ll discuss here some awesome benefits and rewards of Ramadan & then give tips to spend it in a productive way.
Seperate Gate in Paradise
There is a separate gate (Ar-Raiyan) in Paradise, only for those who fast. Just imagine…
Almost 1400 hundred years ago, The holy book Qur’an sent down to our beloved prophet Hazrat Muhammad (SAW). At that time, there was no concept of modern sciences. But today we are totally believing in science. It matters in every aspect of our life. But the fact is that the basics bridges, on which science is standing, all are found in Quran with proper facts & clearness.
As this book is the message of Allah Almighty, who is a creature of everything, so in many Ayah’s of Quran, he told us such things, which was discovered by science in later…
GitHub Education is providing pro subscriptions of a lot of learning websites, free domains, free paid software, and a lot more, for the students at no cost at all. Its worth is approximately +200k$.
According to GitHub Education:
Learn to ship software like a pro. There’s no substitute for hands-on experience. But for most students, real-world tools can be cost-prohibitive. That’s why we created the GitHub Student Developer Pack with some of our partners and friends: to give students free access to the best developer tools in one place so they can learn by doing.
Inheritance is an (Is-A) Relationship.
+ Inherited publicly
+ Inherited protectively
+ Inherited privately
(e.g. A dog is inherited from the parent class animal)
Object Orienting Programming mimics real-world objects.
When we consider real-world objects, the most complicated thing arises in relationships. How to deal with the relationships among other classes.
Association ========= >> (has-a)
Surah Al-Fatihah is the opener of the Holy Book Quran Majeed and one of the noblest parts of the Quran Majeed. Its recitation in each prayer(Salah) for Muslims is compulsory.
→ Surah Al-Fatiha is knonw as Umm-ul-kitab/Quran (Mother of Holy Book).
→ Whenever Holy Prophet Hazarat Muhammad (PBUH) became sick, he(PBUH) recites surah Al-Fatihah, because it is a cure for physical as well as a spiritual sickness.
So, Let’s start by first listening to it in the beautiful voice of the great Qari of the Quran, the Mishary Rashid Alafasy.
بِسْمِ ٱللَّهِ ٱلرَّحْمَـٰنِ ٱلرَّحِيم.
ٱلْحَمْدُ لِلَّهِ رَبِّ…
→ Do you tired up from the habit of “Cramming”?
→ Do you want to memorize stuff for long-term retention?
→ Do you forget everything after some gap in study?
If yes, then let’s move on to reading. This blog is exactly for you.
The majority of students, when came to high & secondary schools or maybe even higher than that, they tried to memorize a lot of things in a short amount of time, which is called Cramming. You can simply say it Ratta in Urdu.
Cramming is the most widely used methodology for the preparation of exams or…
According to the scholars of this era, this world is getting overwhelmed with negativity, and going towards the verge of destruction day by day.
But wait! Aren’t we a part of this society? Not someone else, we’re creating this negativity in various aspects in our society, directly or indirectly.
One of the common and major issues of our society is “Exploring the black side instead of the brightest one”. In this materialistic world, we’re only concerned about dark aspects of ours and others life.
Let’s first define the term of the bright and dark side of life.
Life has a…
Software Engineer | Founder & Editor-in-chief at Learn & Grow.