Hello everyone! This week we went over recursion. What is recursion? Put in plain words, its repeating the same step over and over. In programming, we get implement a code that will call itself and do the same step, until it fulfills a certain "basic case". The basic case is essentially the last calling of itself and does something else. Reading my explanation right now, and man i just confused myself. Anyhow, recursion can be very confusing at times and complicated, but to be honest when i see myself finishing a complicated problem though recursion i always think: "This looks so cool, good job!".
Anyway, i also had a lot of fun in my tutorial. The TA is pretty chilled and its all very casual. Don't get me wrong we do finish up all the work. Anyway, we practiced inheritance. We basically had to make two "basic" classes which all other classes will inherent. One was motorized, and the other one was humanpowered. Now these classes refer to type of vehicle, and each has its own attributes. Motorized had fuel capacity, fuel economy, fuel_level, number of wheels and current position, while h.p had number of wheels, current position and speeds. And the classes that should inherent these were: car, bicycle, motorcycle, unicycle. There wasn't anything difficult in the task, it was just soooooooooo much typing. Dont take this the wrong way, it was awesome practice, but man those classes...
Anyhow, that pretty much sums my week up! Thanks for tunning in and see you next week.
Anyway, i also had a lot of fun in my tutorial. The TA is pretty chilled and its all very casual. Don't get me wrong we do finish up all the work. Anyway, we practiced inheritance. We basically had to make two "basic" classes which all other classes will inherent. One was motorized, and the other one was humanpowered. Now these classes refer to type of vehicle, and each has its own attributes. Motorized had fuel capacity, fuel economy, fuel_level, number of wheels and current position, while h.p had number of wheels, current position and speeds. And the classes that should inherent these were: car, bicycle, motorcycle, unicycle. There wasn't anything difficult in the task, it was just soooooooooo much typing. Dont take this the wrong way, it was awesome practice, but man those classes...
Anyhow, that pretty much sums my week up! Thanks for tunning in and see you next week.