The ABCs of OOP: A Rhyming Guide to Object-Oriented Programming

In OOP, we start with Class,  
A blueprint where the rules all pass.  
It defines what objects will be,  
Their traits and actions we can see.  
Example: A class called “Car”,  
Defining color, speed, and how far.

Each Object is a real-world thing,  
A dog, a car, a bird that sings.  
From classes, objects take their shape,  
With new we call them to escape.  
Example: An object, “myCar”,  
From the class “Car”, it’s a shining star!

Encapsulation wraps things tight,  
With data safe, it’s out of sight.  
We hide the fields, expose the way,  
With methods, we let others play.  
Example: A bank account’s balance,  
Hidden from view, with secure silence.

Now Inheritance comes along,  
Where child learns from parent strong.  
It passes traits and actions down,  
And helps the code go ‘round and ‘round.  
Example: A class “Vehicle” wide,  
With “Car” and “Bike” as its proud side.

For different forms that we can see,  
We use Polymorphism’s key.  
Same action name, but different ways,  
It’s how we act on different days.  
Example: A “draw” method in art,  
For “Circle” and “Square", each plays a part.

With Abstraction, we hide the mess,  
Show only what’s needed, nothing less.  
Complexity is left behind,  
As simple views help ease the mind.  
Example: A TV remote control,  
Buttons to push, but hides the whole.

Encapsulation guards the core,  
It wraps the data, nothing more.  
While Abstraction shows what's right,  
Hiding the details out of sight.  
Example: A car’s ignition key,  
Start the engine, but how? We can't see!

So these are OOP’s key four:  
Encapsulation and much more—  
Inheritance and polymorph’s way,  
And Abstraction helps to save the day.

-Prashant Sethia

Unlock the Power of Data with SQL: A Poetic Journey Through Essential Commands!

To fetch some data, loud and clear,  
We use SELECT—it will appear.  
With FROM we say, “Here’s the place,  
Where all the data has its space.”

Need a filter? That’s WHERE you go,  
To find just what you need to show.  
Want no repeats? Then DISTINCT is true,  
It'll show unique, just a few.

To group your rows in sets that tie,  
We gather them with GROUP BY.  
And if you filter on groups just right,  
Use HAVING—it brings insight.

For sorting data, neat and fine,  
Use ORDER BY, see them align.  
Want rows combined? Use JOIN to say,  
“Tables, come and meet halfway.”

For updates made to keep things new,  
It’s UPDATE, followed by SET too.  
If a row you wish to add,  
INSERT INTO will make it glad.

When data’s old, it’s time to say,  
DELETE that row and clear the way.  
With LIMIT, we can stop the show,  
And show just what we need to know.

So here’s the guide, now take the lead,  
In SQL, you've learned to read!

-Prashant Sethia

Wake Up Call

The world’s on fire, but don't you fret,  
Just scroll through memes and the internet.  
The planet warms, the icebergs break—  
But really, are you awake?

Politicians promise dreams and gold,  
While selling lies they're often told.  
We clap and cheer, for goodness' sake
But ask yourself, are you awake?

The news is biased, left or right,  
We choose a side, then start a fight.  
Opinions scream, but facts forsake
In all this noise, are you awake?

We chase success, we chase the fame,  
But in the end, it's all a game.  
The hamster wheel won't stop to break
So tell me now, are you awake?

Through every post, we seek the "likes",
A digital love that barely strikes.  
Our real selves hide behind the fake
In this facade, are you awake?

With every ad that sells you more,  
Do you forget what life is for?  
A slave to brands, what do you stake
Before it's gone, are you awake?

And as you march through life’s charade,  
The choices made, the debts repaid,  
Before it’s too late to retake
Look in the mirror, are you awake?

-Prashant Sethia