January 15, 2010 by Brandon Weiss
Every time I see an out-of-date copyright at the bottom of a website my eye compulsively twitches and I feel a rant coming on. Seriously, where’s the attention to detail? I hate to so broadly malign a group of people—especially one I belong to—but damn, there are some short-sighted, lazy web developers out there. Which I find extremely counter-intuitive. Programming requires a mind that is a little OCD, has a high attention to detail and excels in logical, analytical thinking. I don’t know how so many people got into the industry that just don’t seem to put very much thought into what they do.1
Take for example the out-of-date copyright. A web developer had to type the numbers ‘2009’, knowing full well that at the end of the year, and every year after that, the date is going to be incorrect and need to be updated. What’s up with that? It’s such an obvious mistake with such a relatively simple solution.
This is how you do it the right way; it literally takes an extra 10 seconds of work:
<?php $copyright = (date('Y') > 2009) ? '2009–' . date('Y') : '2009' ?>
<p>© <?= $copyright ?> Some Company, Inc.</p>
If it’s currently 2009, it will output this:
© 2009 Some Company, Inc.2
And if it’s several years later, it will output this:
© 2009–2011 Some Company, Inc.3
If you don’t already, start giving what you do a little anticipation and forethought. You’d be amazed at the quality of work that comes out as a result.
1 To be clear, this is not at all about the legality of a copyright date. I’m not a lawyer, so I have no idea whether or not one is even necessary. It’s simply about if you’re going to take the time to do something, don’t half-ass it.
2 This assumes that the start year was 2009, if not, just change both instances of 2009 to whatever year you want.
3 Also, note the use of the en dash here. Learn the difference between the different types of dashes and grammar nerds and typographers will love you forever.
recent comments
categories
- Accessibility (2)
- Advertising (6)
- Book Review (5)
- Business (14)
- Camp (4)
- Community (32)
- Design (43)
- Development (26)
- Environmental (17)
- Exhbition (4)
- Fashion (2)
- Film Review (4)
- Film + Video (8)
- Food (1)
- Fun (4)
- Games (3)
- Geocoding (2)
- Health (5)
- Icon Design (1)
- Illustration (2)
- Life (14)
- Motion (7)
- Music (2)
- Philanthropy (16)
- Photography (2)
- Resources (21)
- Shopping (5)
- Socio-Political (32)
- Technology (14)
- Tutorials (10)
- Typography (11)
- Volunteer (4)
- Web Design (18)
archives
- June 2010 (1)
- March 2010 (1)
- February 2010 (1)
- January 2010 (2)
- November 2009 (9)
- October 2009 (14)
- September 2009 (7)
- August 2009 (9)
- July 2009 (11)
- June 2009 (7)
- May 2009 (10)
- April 2009 (9)
- March 2009 (16)
- February 2009 (15)
- January 2009 (14)
- December 2008 (9)
- November 2008 (17)
- October 2008 (11)
- September 2008 (1)
- August 2008 (9)
Twitter feed is temporarily down!
























