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
Now that the HTML render assignment is now the last exercise (generally a good move) -- there's no chance, at least in the in-sync version to review it with he students after they've done it.
But there were a few "gotcha's" that showed up in their work this time, so it would be good to put some more notes in there. about it.
I need to review again their submissions, but one I rember is that a few folks put code like:
if self.tag == 'html':
do_something_special
which really defeats the purpose of subclassing :-)
Also: it would be good to refactor that instructions (and tests) a bit to put a placeholder tag for the Element base class -- students get a bit confused about what it's for if it has an "html" tag, then why do you make an Html subclass?
The text was updated successfully, but these errors were encountered:
Now that the HTML render assignment is now the last exercise (generally a good move) -- there's no chance, at least in the in-sync version to review it with he students after they've done it.
But there were a few "gotcha's" that showed up in their work this time, so it would be good to put some more notes in there. about it.
I need to review again their submissions, but one I rember is that a few folks put code like:
which really defeats the purpose of subclassing :-)
Also: it would be good to refactor that instructions (and tests) a bit to put a placeholder tag for the Element base class -- students get a bit confused about what it's for if it has an "html" tag, then why do you make an Html subclass?
The text was updated successfully, but these errors were encountered: