In fact, this topic is mentioned in the beginning of the slog since the idea of object-oriented programming is one of the first concepts introduced in CSC148 and can concludes the difference between CSC148 and CSC108.
In CSC148, the detailed code is never emphasized. Recall what we have learnt so fat, the class (how to build a class, the subclass, inheritance, exception, etc.) and recursion and tree. These are all general ideas telling you the big ways to achieve one thing. CSC108, on the other hand, focus on the basic codes and concepts like list, dictionary and some statement like for, while , if, etc.
No wonder these basic elements are extremely important as you cannot make a move without knowing these thing, but only knowing these thing would limit your sight. You may simply lost your way in a large program. The idea of Object-Oriented Programming helps you to stand higher and see further.
However, the disadvantage of this concept is that, students may feel difficult to actually write the code of sth. especially for those whose skill of coding is not really solid. I think more basic exercises is still needed in CSC148, rather than just focus on the big idea.
Object Oriented Programming is hard at first, but we get used to it. Great post!
回复删除Same feelings, I think more simple operations should be introduced in class. But maybe we are running out of time.
回复删除