For the first few weeks, I found out that the material learned in csc148
was very different from csc108. Although these two courses focused on the same
computer language, csc108 was like an elementary course but csc148 was more like
a high-school course. The most impressive thing for me was Abstract Data Types.
I thought we could only use the built-in methods in Python last semester, but
now I know that I can create my own class and do whatever I like. For example, we
learned Stacks in class. This method seems useless at first but I found that it’s
very useful when I want to just add things on the top or “pop” something out from
the top. Before I learned that, I may have to use while loop or for loop to do
so. However, with Stacks, I can just write one line to do so.
No comments:
Post a Comment