Subject for today's post is:
Impression of first few weeks in CSC148
The first few weeks dealt mainly with Object Oriented Programming (OOP) and briefly with recursion. To be honest, I find OOP rather hard to absorb. I can not, for the life of me, understand why we need to use classes, methods, instance variables, etc. Life was much simpler when we just needed to write functions and if something was redundant we would write a helper function.
Yes, the code looks more neat and comprehensible when put into classes and subclasses. But until I feel fully comfortable with OOP, I'm using the old style of functions and whatnot to write codes.
Although this approach might not benefit me when it comes to CSC148. With that said, however, I will still practice as much as possible with writing classes and understanding how to correctly utilize them.
As for recursion, so far it is enjoyable! Lab 3 was actually really helpful in understanding how to trace recursive functions. Let's wait and see what will happen in the next few weeks when things get pretty advanced.
Well, there you have it.