May all of us be able to form better conclusions and make better decisions.

“Opinion is really the lowest form of human knowledge. It requires no accountability, no understanding. The highest form of knowledge… is empathy, for it requires us to suspend our egos and live in another’s world. It requires profound purpose larger than the self kind of understanding.” — — Bill Bullard


Internet is fascinating: keeps everyone connected, made work from home a reality, and made the availability of information cheap and fast, yet the basic concepts of the internet are very simple. It’s just some shared files. Every website or web app you visit is just some files stored somewhere in…


During one of my projects, it was needed to implement a select-dropdown for showing the countries with their respective dial codes and the user should be able to search through them. This was to make the mobile number in the right format.

Unfortunately, I came to know that Angular Materials…


This article is about how to use an array of strings. Check this one if you want to know what an array is. Using string arrays is not a big deal and is the same as using other array data types in new languages. Anyway, it’s different with C, and…


Recall, the software is like a factory, where a product is produced by processing the raw materials. Even though that is the big picture, the reality is that the factory itself consists of many pieces of machinery, and each of these machines takes some raw materials and processes them to…


Numbers and characters can be stored in an array. What if a word or a sentence is needed to be stored in a variable? One way to do this is using a character array. There is a more convenient way, to store them as strings.

What is a string?

A string is an array…


Variables are used to store values. Each variable is like a box. The box will contain a value. The box can be opened and a value can be stored in it. Then the value can be used whenever it is needed. Just open the box and take the value. …


Suppose there arises a need to display a text a hundred times. One way that is very painful, is to write a hundred lines of code to display it a hundred times. Thanks to loops, there is no need to repeatedly write code to do such repetitive tasks.

while loop

The ‘while…


We talked about the ‘if and else’ statements for decision-making. In cases, where there are more conditions to be checked, it is better and more convenient to use the switch statements, for example, the operations on a calculator. …

Shafi Sahal

Developer, adventure lover and a truth seeker. Like to write about topics from a unique perspective. Twitter: https://twitter.com/_shafisahal.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store