---
title: "Comment by Ronak on \"Dump the if-else, use these short-hand techniques instead.\" | Hashnode"
description: "Awesome tips : ) we can also use ramdajs for some cases as well."
url: "https://hashnode.com/posts/dump-the-if-else-use-these-short-hand-techniques-instead/5ea5f8830135fc417662fbeb/comment/5ea828b8927cd8e125d847e5"
---

[Discussion](https://hashnode.com/posts/dump-the-if-else-use-these-short-hand-techniques-instead/5ea5f8830135fc417662fbeb)

Comment [Dump the if-else, use these short-hand techniques instead.](https://hashnode.com/posts/dump-the-if-else-use-these-short-hand-techniques-instead/5ea5f8830135fc417662fbeb)

[Ronak](https://hashnode.com/@ronakmistry)

[Apr 28, 2020](https://hashnode.com/posts/dump-the-if-else-use-these-short-hand-techniques-instead/5ea5f8830135fc417662fbeb/comment/5ea828b8927cd8e125d847e5)

Awesome tips : ) we can also use [ramdajs](https://ramdajs.com/) for some cases as well.

[David Ayoola](https://hashnode.com/@david_ayo)

[Apr 28, 2020](https://hashnode.com/posts/dump-the-if-else-use-these-short-hand-techniques-instead/5ea5f8830135fc417662fbeb/comment/5ea828b8927cd8e125d847e5#reply-5ea82dea927cd8e125d847f3)

Thank you, Ronak, and thanks for the link, checking out Ramda's cookbook as we speak 🙏🏽
