Recursion is a very useful concept in programming. I expected it to be a very different and somewhat hard to grasp concept, but, surprisingly, it was seems pretty easy and straightforward so far. We weren't given any serious problems to use it for though, just some tracing exercises and some basic functions.
Sunday, February 8, 2015
Sunday, February 1, 2015
CSC148 — first impresions
I had some experience with programming before, so 108 was mostly refreshment of what I already learned about Python in my physics courses. I was looking forward to CSC148 with excitement, as for a first serious course in programming, and my expectations regarding 148 weren't false!
148 started with the dive in object orientation — a very interesting idea that changes the way one looks at programming. I no longer view my code as an advanced calculator, a linear sequence of operations which only exists to solve some particular problem. Assignment 1 taught me treat my classes as independent entities that have life of their own besides solving one particular problem; to design my code in a such a way that it's functionality can be extended in future with minimum effort and without breaking it's initial structure. Assignment 1 was fun, even though I spent quite some time figuring out was exactly I am expected to do, and why do I need to use those classes that don't seem to have any purpose on the first sight.
That's all for now. See you in the next chapter!
Subscribe to:
Posts (Atom)

