This is the third journal I write about CSC148.
It's a quite busy week, lots of tests and review sessions I need to take. We just finish the mid-term of CSC148 on wednesday. Although it's not that difficult, I'm still worry about some details about docstring and __repr__ typr and so on. The most difficult part of the test I think is the limited time. Normally when we write code for the assignment or practise, we do not have a time limit. Hence after I finished first question of the test, I found I spend too much time on it. So it's quite hurry for me to do the last two questions. To avoid this situition on the final exam, maybe it will be helpful if I force myself to finish the assignment or pranctise in a limited time.
In last week's lecture, we learned about how to use sum and isinstance in python. By using these build in function, the code we need to write become shorter and easier to understand. These method make the code we design clean and logical. As prof Diane saied on the lecture, 'As programmers, our job is to make our code easy and logical, which is a very difficult job.' These build in function can help us to clarify our design. This is also what the 'class' do in python, to make the code easier.
没有评论:
发表评论