2014年3月30日星期日

Things are not always as hard as I thought.

Spring is coming soon, as well as some long holiday months. But...before that, we have to first beat the monsters of the year: Finals. Definitely,  they will symbolize the end of the winter frozen days and the beginning of spring warm season.

Right before this Friday on Thursday night, I had been totally confused with the filter exercises. I found it not hard to keep up with the lecture content about flatten functions but they didn't seem to be helpful for preparing for the quiz on Friday which was about filter functions. But these two functions may have something in common. Flatten functions can be used to combine list of lists into one list. Filter functions are used to filter out some specific elements. At least, they both play a role in making collecting useful data from lists more conveniently. This matches the original theme of programming: solving problems as simply, fast and precisely as possible. Tutorial on Friday morning helped me a lot on the filter exercises. I finally found that I should first define a calculation process and then put it into the filter function after the Boolean part. And of course, I believe I must have achieved another perfect for quiz.

It turns out that things are not always as hard as I thought. Sometimes I need to find another way instead of sticking on one.

没有评论:

发表评论