---
title: "Comment by Kazys Račkauskas on \"How to code like a pro in 2022 and avoid If-Else\" | Hashnode"
description: "The solution isn&#39;t entirely my style, but I support it. I actually really love polymorphism, which is what attracted me to OOP."
url: "https://hashnode.com/posts/how-to-code-like-a-pro-in-2022-and-avoid-if-else/62aab3692b2b09182b654c62/comment/66c79a9cf92670324fcdf83c"
---

[Discussion](https://hashnode.com/posts/how-to-code-like-a-pro-in-2022-and-avoid-if-else/62aab3692b2b09182b654c62)

Comment [How to code like a pro in 2022 and avoid If-Else](https://hashnode.com/posts/how-to-code-like-a-pro-in-2022-and-avoid-if-else/62aab3692b2b09182b654c62)

[Kazys Račkauskas](https://hashnode.com/@EasyTdd)

[Aug 22, 2024](https://hashnode.com/posts/how-to-code-like-a-pro-in-2022-and-avoid-if-else/62aab3692b2b09182b654c62/comment/66c79a9cf92670324fcdf83c)

The solution isn't entirely my style, but I support it. I actually really love polymorphism, which is what attracted me to OOP.
