Teaching OOP (C++) outside-in vs inside-out approach -
i running programming club @ high-school, , have introduced students oop using simplistic classes in c++. believe @ least theoretically idea. able offer them specific project can work on together. question have approach take. when took programming classes in college, saw 2 different approaches, in opinion both had serious shortcomings. ended sleeping through of them , learning stuff on own books , examples. in teacher's shoes, opinion on approach preferable or if there third option. approach 1 used, write program on board (or on computer projection screen). class definitions written first. students bewildered @ point, because purpose of variables , methods seem entirely obscure them. time learned each variable , method , how interacted when instructor write implementation (i called outside-in method) approach 2 explain trying achieve, , creating classes , members needed. has opposite problem. writing method use these imaginary classes have implemented later. students has no...