Chapter 4Write Clear Conditionals

Have you ever been sucked into a round of spring cleaning? I don’t mean the kind where you put “Scrub the floors” on your to-do list and then you actually do it. Rather, say it’s a nice day so you open the window, but as soon as you do, a pile of papers blows off your desk. That’s fine, you’ve been meaning to organize those anyway. So you start filing, but without that stack of papers hiding everything, now you notice that your computer cables look all tangled and sloppy, and how long has that coffee mug been hiding back there? Before you know it, you’re taking your whole office apart. Once you start removing clutter, it’s hard to stop.

By now, you’ve likely started getting a taste for clean ...

Get Simplifying JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.