Mommie Dearest (1981)
"No Wire Hangers, Ever!"
We at TNT are passionate about tech matters and coding, but not this passionate! There are some things that drive us crazy though, for example when a novice fails to provide a title tag in a webpage, it does raise our blood pressure...and we remember this gringy clip from the movie 'biography' of Joan Crawford, a movie star in the 1930s - 1950s.
Our checklist of webpage guidelines should help keep you out of trouble!
Java programmers! We feel the same way when novices use a System.out.println call within a overloaded toString method! Beware!
A few more pet-peeves from computer science and webdev environments...
General
- Spelling errers!
Web Page Designers
- Using
<br>tags for spacing content in web pages - Putting any
<body>content in the head of a web document - Not ending functions with an inline comment marking their end, especially in JavaScript or Python environments
- Not keeping strict indentation schemes when writing software: SHOW NESTING CORRECTLY IN HTML
- Using headings for content suited for paragraphs
- Using lots of borders on multiple elements in a single web page
- Orphaned CSS or JavaScript in a design
- Failure to validate HTML and CSS
- Failure to constrict body size for large monitor environments
- Forgetting to check web page appearance on multi-sized environments and orientations
- Failure to provide a meaningful
titletag - Failure to utilize
title attributes to give additional guidance to guests - Underlining hyperlinks
- Failure to use
<!-- end doodah -->type statements to mark the ends ofdivblocks - No spacing of attribute statements: Use:
title="Screen tip"nottitle = "Screen tip" - Inattention to the CRAP rule
General programming
- Inconsistencies in variable name syntax: my_pretty_pony? myPrettyPony. Python coders typically use the first, Java and JavaScript programmers use the second, generally
- Starting a variable name with a capital letter
- Not keeping strict indentation schemes when writing software: Show nesting uniformly; especially important with Python!
- Not including meaningful header comments
- Inconsistent spacing of statements: 'var x= 7;' for example
JavaScript
- Using
x = 7instead ofx == 7when checking for equality
Java Programmers
- Using an SOP statement inside a
toStringmethod - Using
x = 7instead ofx == 7when checking for equality - Using == to compare Objects, including
Stringinstances. Useequalsmethods instead - Failure to test class features in driver code
- Using assignment to 'make a copy' of an object rather than using a copy constructor. DWR!
Python
- Using
x = 7instead ofx == 7when checking for equality - Failure to mark the end of a function with a comment like:
# end doodah_function - Failure to submit final Tracy programs with a speed set to zero (fastest speed)
Photoshop
- Not naming Photoshop layers meaningfully
- Flattening all layers in a Photoshop design without preserving a set of layers in the psd file
Yep, we've made some errors at TNT. Can you find some of the errors we've identified in some errant pages?
Movie clip is only available in larger viewports
On some mobile devices, rotating to landscape will allow viewing.
