Skip to content

Error Handling #12

Open
Open
@shiffman

Description

@shiffman

Just adding an issue to open the discussion on how to handle syntax errors in code. Some thoughts:

  • We have hints / buttons (perhaps when the video goes away) that remind users of syntax and also offer quick means to reset the code to a working state.
  • If it doesn't work, at a minimum we show a message that indicates there is a bug in the code and offers helpful general suggestions.
  • Ideally we offer specific feedback, i.e. missing a semi-colon, you spelled ellipse() wrong etc. But not sure if this is realistic. See https://www.khanacademy.org/cs for a nice implementation of this.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions