---
title: "Discussion on \"Effortless refactor with De Morgan's Laws\" | Hashnode"
description: "Discussion on \"Effortless refactor with De Morgan's Laws\". I recently learned about De Morgan's laws by watching an informative video by the ProgramArtist about   code refactoring:\nhttps://www.youtube.com/watch?v=lpB7PLSikw8\nIn the video he quickly mentions De Morgan's laws to simplify a section of the code...."
url: "https://hashnode.com/posts/effortless-refactor-with-de-morgans-laws/5f00bbe53e04c67dd1bfbaf2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Effortless refactor with De Morgan's Laws](https://blog.mauriciorobayo.com/effortless-refactor-with-de-morgans-laws?utm_source=hashnode&utm_medium=feed)

I recently learned about De Morgan's laws by watching an informative video by the ProgramArtist about code refactoring: https://www.youtube.com/watch?v=lpB7PLSikw8 In the video he quickly mentions De Morgan's laws to simplify a section of the code....

Jul 4, 2020 · 2 min read · blog.mauriciorobayo.com  
Updated Oct 28, 2021  
Read the article

-   [#clean-code](https://hashnode.com/tag/clean-code)
-   [#refactoring](https://hashnode.com/tag/refactoring)
-   [#logic](https://hashnode.com/tag/logic)

## Written by

[Mauricio Robayo](https://hashnode.com/@mauriciorobayo)

@mauriciorobayo

  
[View profile](https://hashnode.com/@mauriciorobayo)

Full-Stack JavaScript Developer

Building for the web is my passion. Constantly learning and getting better.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
