Posts

The Best Paradigm

Image
 In programming like any other art has different categories i.e. paradigms. There are many like functional, object oriented, event driven, procedural etc.  All this paradigms have a cult like following among the people who use them.  This is mostly due to the paradigms being linked to the programming languages they use. In today's blog we are going to look at the functional, object oriented and procedural paradigms. There other paradigms like event driven, declarative, structured query language paradigm etc. 1. Procedural paradigm Being a newbie in programming, the first language I learnt was C. This is in the procedural paradigm as it is divided into functions. The main function and other functions. In procedural paradigm code is divided into functions (also called routines or sub-routines in other languages and should not be confused with functional programming paradigm). The most popular procedural language in this paradigm is C. There are other languages like python, ...

Vanilla JavaScript vs JavaScript Frameworks

Image
One of the things one learns when starting web development is the 3 tech stacks i.e HTML, CSS and JavaScript. While HTML provides the bones and CSS the beauty, JavaScript provides the functionality. This has made this language to be one of the most used languages if not the most. HTML, JavaScript and CSS   My Background in JavaScript First starting to learn programming, JavaScript was among one of the first languages that I learnt. Learning JavaScript brought a sense of accomplishment, as it was the first language that I learnt that I could see visually from the browser the effects of my code. This was virtually opposite to the console dependent C/C++, python and Java. Don't get me wrong, all the above languages have ways to implement graphical user interface, but none comes close to the ease of running your code and seeing the browser react to the events especially for a newbie to programming. Vanilla JavaScript Code block   When I later started learning a web framework,...

PHP: The lamborghini Language

Image
In the Beginning In the 1990's, when the internet was becoming a common occurrence, the most common way to design a website was to create a static website. This involved creating websites in HTML. The websites had one drawback, they could not be used to perform some features that are being performed by today's back-end technologies.  To be able to combat this, some of the earliest technologies used the Common Gateway Interface(CGI). CGI was a protocol that allow external applications to interact with the server. Due to their complexity, they were later preceded by their implementations in programming languages like Perl, ColdFusion and Active Server Pages just to mention a few.  The birth of the "Lambo" Language Just like every other technology out there, the Benevolence Dictator for Life for PHP is Rasmus Lerdorf. He created the language to replace the CGI scripts that he would write in C (source was Gemini). The language was a huge hit among web developer helping ...

Red Pill vs Blue Pill

Image
Red Pill or Blue Pill Imagine this, you are invited in this luxurious penthouse room. It is raining outside. You can see the beautiful skyline of the city. You are seated on a red leather chair. Next to you is a luxurious fire pit that oddly it seems to dissipate the cold from the rain. Across from where you are seated, there sits a bald man dressed in some 90s leather jacket with black shades.  red pill vs blue pill   He turns to you, spreads both his arms clenched into fists. He slowly unclench his left fist. On his left palm, there is a blue pill. He tells you that the blue pill will make forget all that you have seen when you wake up. He tells you that when you take the blue pill, you will get back to your old life. He slowly unclench his right fist. On his right palm, there is a red pill. He tells you the red pill, will give you freedom. He tells you he will show you the reality of the true world. No secrets. Just bare facts. It is not what happened to me...

From Ubuntu 22.04 to Debian 12

Image
Linux! Regarded as one of the best operating systems by its users. Used by over 70% percent of the worldwide servers and every android phone in existence. Has a cult like following among programmers, system administrators, security experts and computer enthusiasts. The operating system designed to be a free UNIX alternative. Linux Tux logo How it all began From the time I knew about computers the only operating system I knew of was Windows OS. Growing up, most of the people  who used computers around me used the Windows 7 operating system. I grew up using it at as everybody had it. Even as recent as now there are people who still use Windows 7 despite the superior Windows 10 being available(Yes I said it. Windows 10 is better than windows 11).  windows 7 vs windows 10                                                        I am from Africa....