Queue & Stack

00:36 0 Comments

So last week we did some work with the queue and stacks, and I can say it has been quite a concept. This was actually something I was excited about because I've been trying to figure out a way to queue asynchronous web requests and then prioritize the request and then process it. I had a feeling that it could be done by using a list but I was hesitant because I'd have to implement something that I hadn't tested before and I wasn't sure the risk was worth taking. Overall this week has been fairly inspiring, I hope we do some more work with queues. I'm also excited about next lectures as we being working with linked lists (Something I've meaning to learn but haven't quite found the time to research).


As a side note, this reading week couldn't come sooner!

0 comments:

Tracing recursion

12:33 0 Comments

Recursion was never one of my strong suits, much less tracing it, so I found it especially difficult to think in such a manner. When I first learnt about recursion I was blown away by the concept, it wasn't something that I had seen before. As I never had any applications of recursions I just wanted to get it over with. Week #4 had been a great way to get myself working with recursion more thoroughly, I found the Prof. Heap went over the content really well and broke it down into its smaller parts which I think greatly helped in allowing me to understand the material a lot better. The example of the nested lists at the start of the week proved to be really understandable and easy to follow along to. Tracing the recursive calls allowed me to become more familiar with things like the base case and the general case which I initially had no idea about.


Later in the week we moved to more complex functions that dealt with the cases of recursive types and began to implement a lot of the concepts we had learnt throughout the lectures. I think the lab and lecture notes really helped me become more familiar with recursion and maybe I'll use some of the concepts in my own projects.

0 comments:

First few weeks.

09:59 0 Comments

I'll admit it. I haven't gone to many 148 lectures... Even after I had said to myself that I would. Lectures can sometimes be boring if you already know the content and I usually end up working on my own app anyway. That being said, as an experienced programmer a lot of the python syntax is familiar and at times frustrating. I always end up throwing braces and semicolons everywhere and using 'this' instead of the 'self' which usually results in yelling at the IDE for being so stupid. Which is enough of a reason to not be missing lectures, because syntax will likely why I loose marks. Hopefully I can get it together soon and go to lectures and try to absorb information even if I think I know the material anyway.
Tutorials are really helping in make sure that I'm on-top of my work and are proving to be a good indicator of what I know and don't. Moreover, I think that being able to ask for clarifications on assignments and code is very important to the ability of a programmer to continue to grow and learn. I do however wish there were more TA's to help with assignment technicalities on the days before deadlines. Even in other CSC classes, there have been instances where I start doubting my understanding of the assignment requirements and it would be nice to have a chance to confirm our work with someone who knows exactly what is required.
Other than that, these last weeks have been really exciting. I'm happy with what were learning as a class and am looking forward to see what we do in the coming weeks.

0 comments: