Common Folk Collective » doing it wrong http://commonfolkcollective.com/blog Common Folk Doing Uncommon Things Tue, 15 Mar 2016 17:08:24 +0000 en-US hourly 1 http://wordpress.org/?v=3.9 Double Negative http://commonfolkcollective.com/blog/2012/03/double-negative/?utm_source=rss&utm_medium=rss&utm_campaign=double-negative http://commonfolkcollective.com/blog/2012/03/double-negative/#comments Thu, 22 Mar 2012 13:17:03 +0000 https://commonfolkcollective.com/blog/?p=30 I clicked the unsubscribe button on an email from a charity I gave to long ago and was taken to the following page.

The sentence “Uncheck the box for any communication you no longer wish to receive.” is pretty ugly. Rather than simply state “Check the box for any communication you wish to receive.” The writer choose the double plus ungood method.

I came across this once before on a project that made me lose what little respect I had for the developer who wrote it.

if (!notChecked) {
}

If you are doing things this way you are doing it wrong.

Share

]]>
http://commonfolkcollective.com/blog/2012/03/double-negative/feed/ 1