View profile

Abhiraj's Dev-letter - Issue #18

And I’m back!
Yes I know and I apologize for the break being pulled a bit too long. Took more time than I expected, but all that matters now is that I am back to creating content for you.

*Major announcement time*
Along with all the tech content I collect and send you via here, I’ll also be putting up some exclusive content just for my fellow subscribers, YOU! Hope you like it….
Must-reads of the week
It’s never easy to design a user interface, but Chakra UI is a beautiful UI package for getting your Next.js application up and running quickly while yet retaining aesthetics. You’ll learn how to set up a small Next.js app with Chakra UI in this tutorial.
Programmers spend a lot of time diagnosing and remedying errors and omissions in their code. Debugging slows down the Javascript execution and shows how data is modified line by line. Since Javascript is interpreted at run time and executed inside the browser, debugging is performed with tools built into the browser. Here’s everything you need to know about debugging in Javascript
Tech news around the world
Most Frequently Asked Questions About NFTs(Non-Fungible Tokens)
4 Finds that Made 2022 Seem Less Horrible So Far
How Blockchain Technology Improves Environmental Sustainability
Tada!🎉
So this is the place where I’ll be posting exclusive tech content for you. Since this is so exclusive for you, I’ll be taking into consideration any topics you want me to write about, so just reply to this newsletter with your suggestions.
#1: The 6 ypes of Programming Languages
Many different philosophies or paradigms have been used to design different programming languages. Since they are not mutually exclusive. programming languages often embody several core ideas. Depending on the programmer’s preferred approach, they can also be used in different ways. Python, for example, can be used for both object-oriented and procedural programming. The best approach or the best programming language to use often depends on the programmer’s preference and goals. Below are some of the ways programming languages can be defined and classified.
1️⃣ Imperative Programming
These languages require a list of instructions for the computer to carry out. The programmer has first to work out how the task can be completed, and then provide step-by-step instructions to the computer. Imperative languages are common and include Python, C, C++, and Java.
**Input in Python**
user = input("What's your name?")
print("Hello", user)
**Output in Python**
What's your name? Sean
Hello Sean
2️⃣ Declarative Programming
In declarative programming, programmers tell the computer what result they want, without needing to say how it will be achieved. In the Wolfram language, for example, a word cloud based on the countries with the highest populations can be created using a single line. Other declarative languages include SQL which is used for databases.
3️⃣ Event-driven programming
The event-driven programming concept is one where the program listens for certain things to happen, and then starts the appropriate program sequence when they do. For example, a program might react to user actions, sensor input, or messages from other computer systems. Javascript and Scratch, among others, can be used to write event-driven programs.
Example
<input type="button" value="Click me!"
onClick="showMessage();">
4️⃣ Procedural Programming
This type of programming is based on functions, which contain reusable chunks. Functions can start other functions at any time, and can even start themselves again. They make programs easier to develop, test, and manage. Many popular programming languages, such as Java and Python support procedural programming.
5️⃣ Object-oriented programming
In object-oriented programming, the idea is that data and its instructions are stored together in “objects”. Objects can interact with each other to achieve the program’s objectives. The aim is to make code more modular, so it is easier to manage and is more reusable. Many popular programming languages, such as C++, Java, Javascript, and Python support object-oriented programming.
6️⃣ Visual Programming languages
These languages make it easier to develop software using drag-and-drop interfaces, so a programmer can create software more quickly and with fewer errors. Visual basic, for example, includes tools to design user interfaces visually. Scratch, is another highly visual language, often used to learn to program.
Conclusion
Sometimes, programmers’ choice of language may be dictated by the hardware they are using, the team they are programming with, or the kind of application they want to create. From the variety of languages we discussed today, I hope you can make a better choice in your language. 
And thats a wrap!
Thank you for reading this issue and hope you like this new addition to the newsletter. See you in the next one!
Until next time,
Abhiraj
Did you enjoy this issue? Yes No
Abhiraj
Abhiraj @rainboestrykr

Your weekly digest of my top blog posts and product launches with some exclusive tips and tricks about web development.

In order to unsubscribe, click here.
If you were forwarded this newsletter and you like it, you can subscribe here.
Created with Revue by Twitter.