That week was easy to understand conceptually and a little more difficult to put into practice.
Binary trees and binary search trees are extremely simple concepts; you start at one node and you have the choice of going to either of the two children of that node. This is essentially a specialized Tree class so the idea should follow very easily. Binary search trees are slightly more complicated, in that they are organized in such a way that is very easy to search the tree for the item that you are looking for. (From what I understand though, generally most concepts are easy to visualize and communicate to other people than it is to actually implement in software.)
In practice however, I find binary search trees are slightly more complicated. This is because the code for the searches are more specialized and do not simply traverse the entirety of the tree. Again, this is not very complicated but it does add some depth to the issue.
Monday, 30 March 2015
Sunday, 8 March 2015
Object Oriented Programming (OOP)
I think that Object-oriented programming is a really cool way of programming. The idea of separating huge portions of code into abstract data types/objects makes a lot of sense and I think I would find programming to be much more difficult if this wasn't the case.
Having code spread out into multiple sections makes the code much more legible and makes it easier to find sections of code that need to be debugged and added to. Instead of searching through an entire wall of code to find what you're looking for, just open up the object that you need to edit; simple as that.
Object-oriented programming also allows for multiple instances of objects to be created with identical properties and can allow for more specific objects to be created with properties inherited from the super-class. This makes for some really flexible and compact code which is not only practical, but enjoyable to work with as well.
I look forward to my future projects with object-oriented programming.
Having code spread out into multiple sections makes the code much more legible and makes it easier to find sections of code that need to be debugged and added to. Instead of searching through an entire wall of code to find what you're looking for, just open up the object that you need to edit; simple as that.
Object-oriented programming also allows for multiple instances of objects to be created with identical properties and can allow for more specific objects to be created with properties inherited from the super-class. This makes for some really flexible and compact code which is not only practical, but enjoyable to work with as well.
I look forward to my future projects with object-oriented programming.
Sunday, 8 February 2015
Week 5
Since I already discussed recursion briefly in my last post, I won't go into it, at least not too deeply. Tracing recursion is a bit of a hassle to write out because it sometimes goes down several layers.
The quiz this week wasn't as much difficult as it was annoying to write out due to the length of the list. Even when the list was getting shorter, it still felt like unnecessary work to write out.
I felt like I was a little unprepared for this test. For several reasons, I wasn't really able to keep up with the lectures and I didn't really have a full aid sheet to help me through it. I think I'll be better prepared for the next one though. I know what I need to keep an eye out for as well as what I should be putting on my aid sheet and not just blindly adding examples from the lecture notes. Not really much else to comment on, I can barely even remember what was on the test at this point. I felt I did well enough to pass but not well enough to deserve an 80 but I think that's fine.
Monday, 2 February 2015
Week 4
It's been a relatively slow week. The course material for this week wasn't too difficult because I've covered this in my earlier computer science experience but it still takes some time to get back into thinking with recursion.
The first assignment was a little difficult to plan out because everything was left up to us and there was no base code to work with but once everything started to get rolling, it got easier and easier. In fact, most of the time spent on the assignment was just the planning phase, the coding took less than a day worth of work.
Not really looking forward to the term test coming up on Wednesday. I missed a few lectures due to some personal issues but hopefully it won't be too difficult.
The first assignment was a little difficult to plan out because everything was left up to us and there was no base code to work with but once everything started to get rolling, it got easier and easier. In fact, most of the time spent on the assignment was just the planning phase, the coding took less than a day worth of work.
Not really looking forward to the term test coming up on Wednesday. I missed a few lectures due to some personal issues but hopefully it won't be too difficult.
Saturday, 24 January 2015
Why Geeks Should Write
Aside from people who physically incapable of writing, geeks are probably the worst group of people at writing. That's not to say that there aren't good writers among us, they're just few and far between. Perhaps this has something to do with geek culture or something but that's not the point.
The point of this post is about why geeks should write. Writing is one of the most useful forms of communication. You don't have to repeat yourself, it's easier to translate and you can take your time to fully articulate what you mean and clear up any mistakes before someone gets the chance to read it. People who don't write don't develop the necessary skills to communicate to others and so when geeks develop software they need to be able to articulate what they're doing but can't do so effectively because they lack the proper writing skills to do so.
Being able to write and communicate ideas on paper is vital for software development as well as many other projects as well. More than likely, you will end up working with a team of people rather than yourself so it's important that you can communicate what you're doing in a section of code or what the variables and methods do. Even if you end up working alone on something, it is more than likely that someone else is going to have to go in there and edit the code later down the line for upgrades or debugging so it's imperative that everything is well documented for later references. So in general geeks should try to write more, it develops the skills that are necessary for the workplace and is generally a nice skill to have.
The point of this post is about why geeks should write. Writing is one of the most useful forms of communication. You don't have to repeat yourself, it's easier to translate and you can take your time to fully articulate what you mean and clear up any mistakes before someone gets the chance to read it. People who don't write don't develop the necessary skills to communicate to others and so when geeks develop software they need to be able to articulate what they're doing but can't do so effectively because they lack the proper writing skills to do so.
Being able to write and communicate ideas on paper is vital for software development as well as many other projects as well. More than likely, you will end up working with a team of people rather than yourself so it's important that you can communicate what you're doing in a section of code or what the variables and methods do. Even if you end up working alone on something, it is more than likely that someone else is going to have to go in there and edit the code later down the line for upgrades or debugging so it's imperative that everything is well documented for later references. So in general geeks should try to write more, it develops the skills that are necessary for the workplace and is generally a nice skill to have.
Subscribe to:
Posts (Atom)