---
title: "Code Readability and double negation - not uninteresting!"
url: "https://osherove.com/blog/2004/4/14/code-readability-and-double-negation-not-uninteresting.md"
canonical: "https://osherove.com/blog/2004/4/14/code-readability-and-double-negation-not-uninteresting.html"
published: "2004-04-14T13:23:00"
updated: "2004-04-14T13:23:00"
tags: [".Net Quotations"]
author: "Roy Osherove"
description: "Ooh, Omer has a nice question about Code Readability and expressing double negation in seriously harsh conditions (no outside function allowed). go take a side."
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# Code Readability and double negation - not uninteresting!

By Roy Osherove April 14, 2004 In [.Net Quotations](https://osherove.com/blog/category/net-quotations)

**Historical article** · Originally published April 14, 2004; technical details may be outdated.

Ooh, [Omer has a nice question](http://weblogs.asp.net/okloeten/archive/2004/04/14/113009.aspx) about Code Readability and expressing double negation in seriously harsh conditions (no outside function allowed). go take a side.

## More in .Net Quotations

[All posts in .Net Quotations](https://osherove.com/blog/category/net-quotations)

- Apr 20, 2004

    ### [\[Tool\] WMI Strongly Typed Class Generator](https://osherove.com/blog/2004/4/20/tool-wmi-strongly-typed-class-generator.html)

- Apr 15, 2004

    ### [New version of Data Access Application Block available](https://osherove.com/blog/2004/4/15/new-version-of-data-access-application-block-available.html)

- Apr 14, 2004

    ### [A UI Singleton?](https://osherove.com/blog/2004/4/14/a-ui-singleton.html)

- Apr 13, 2004

    ### [How to re-throw an exception correctly](https://osherove.com/blog/2004/4/13/how-to-re-throw-an-exception-correctly.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
