paint-brush
If it Looks Like a Duck, Quacks Like a Duck, But Needs Batteries - You Have the Wrong Abstractionby@IndianWestCoast
1,601 reads
1,601 reads

If it Looks Like a Duck, Quacks Like a Duck, But Needs Batteries - You Have the Wrong Abstraction

by Vishal Chovatiya6mMay 18th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Liskov's Substitution Principle in C++ is the second principle in this series of articles. The code snippets you see throughout this series are simplified not sophisticated not sophisticated. I also consider myself a pragmatic person who wants to convey an idea in the simplest way possible rather than the standard way or using Jargons. I believe it will encourage you to explore more on this topic, even if it is trivial. All of this code is compiled using C++20(though I have used Modern C++ features up to C++17 in most cases).

Company Mentioned

Mention Thumbnail
featured image - If it Looks Like a Duck, Quacks Like a Duck, But Needs Batteries - You  Have the Wrong Abstraction
Vishal Chovatiya HackerNoon profile picture
Vishal Chovatiya

Vishal Chovatiya

@IndianWestCoast

Software Developer⌨, Fitness Freak🏋, Geek🤓, Hipster🕴, Blogger👨‍💻, Productivity Hacker⌚

Learn More
LEARN MORE ABOUT @INDIANWESTCOAST'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Vishal Chovatiya HackerNoon profile picture
Vishal Chovatiya@IndianWestCoast
Software Developer⌨, Fitness Freak🏋, Geek🤓, Hipster🕴, Blogger👨‍💻, Productivity Hacker⌚

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Joyk