RU beehive logo ITEC dept promo banner
ITEC 325
2018spring
ibarland

general grading guide

Some common errors, marked with greek letters (lower-case). (See also, common proofreading marks.)


1Some people dislike the conditional-operator for readability reasons: I agree, it's far too easy to lose the characters “?” and “:” in the rest of the statement. To ameliorate that, I suggest putting two spaces around those characters, and perhaps putting the entire expression in parentheses (or sometimes just the initial condition in parentheses). I prefer languages where the conditional has the same syntax as a function, e.g. Excel's “=IF(n<0, 0, n)” or Racket’s “(if (< n 0) 0 n)”. Regardless, being in the habit of returning an answer for both branches of the if helps reduce bugs.      

logo for creative commons by-attribution license
This page licensed CC-BY 4.0 Ian Barland
Page last generated 2018.Jan.21 (Sun)
Please mail any suggestions
(incl. typos, broken links)
to ibarlandradford.edu
Rendered by Racket.