---
title: "Comment by Jack on \"Write better code and be a better programmer by NEVER USING ELSE statements\" | Hashnode"
description: "Quite ironic of you to mention the Line of Sight rule and then present the code examples in one line."
url: "https://hashnode.com/posts/write-better-code-and-be-a-better-programmer-by-never-using-else-statements/5faa95edc9b29b563d0c0e3e/comment/5fab959a621a1f57a3d07287"
---

[Discussion](https://hashnode.com/posts/write-better-code-and-be-a-better-programmer-by-never-using-else-statements/5faa95edc9b29b563d0c0e3e)

Comment [Write better code and be a better programmer by NEVER USING ELSE statements](https://hashnode.com/posts/write-better-code-and-be-a-better-programmer-by-never-using-else-statements/5faa95edc9b29b563d0c0e3e)

[Jack](https://hashnode.com/@FxF)

[Nov 11, 2020](https://hashnode.com/posts/write-better-code-and-be-a-better-programmer-by-never-using-else-statements/5faa95edc9b29b563d0c0e3e/comment/5fab959a621a1f57a3d07287)

Quite ironic of you to mention the _Line of Sight rule_ and then present the code examples in one line.

[Douglas Parsons](https://hashnode.com/@dglsparsons)

[Nov 11, 2020](https://hashnode.com/posts/write-better-code-and-be-a-better-programmer-by-never-using-else-statements/5faa95edc9b29b563d0c0e3e/comment/5fab959a621a1f57a3d07287#reply-5fab9c09d6009557c49f64d6)

Absolutely not intentional. Not sure why but something has removed all of the code formatting.

I've fixed this now - thanks for highlighting the problem!
