debugging - Teaching Kids to Debug Code? -


so there lot of posts around here best ways teach kids program. i'm interested in next step, teaching kids how debug code doesn't want, or doesn't work 100% of time (i believe these separate problems, subjective).

i ask point of view of game developer has working game (roblox) kids can code ton of crazy stuff in our embedded scripting language, happens lua.

what seeing these scripts become more complicated suffering edge cases kids didn't consider - limiting scope of can do. part of solution education , part of solution better debugging tools. ask 2 part question:

  1. what high quality, freely available sources of information exist on internet can send aspiring script developers expectation valuable out of it? maybe there aren't , need write some?

  2. what debugging tools think useful kids? want hit payoff vs. complexity sweet spot.

our target demographic here motivated kids, 12-15 years old.

well debugging part, guess 3 things:

  • avoid bugs in first place teaching them good programming practice
  • test each part eg. unit-testing (lunit)
  • use print() enough seeing happens
  • you might interested in debugger.lua or remdebug
  • use decent editor syntax highlighting, bracket matching, ...

for general information:

that's way learned using lua anyway :).


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -