You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
John Ryan edited this page Jun 13, 2013
·
5 revisions
Here are some coding conventions we're using. In order to avoid confusing students, we aim to be strictly consistent in these practices:
The Placeholder
For many cases, you can define a simple placeholder in assertion statements:
object FILL_ME_IN = new Object();
However, sometimes, an object doesn't cut it (e.g. comparing directly with ints). In this case, we include a secondary placeholder by slyly adding underscores: