Monday, September 8, 2014

Week 2

Last week was our first week in business. We started learning more about optimizations and coding conventions in C++ and always bridging the new concepts with their equivalent in Java given that most of us, UTCS students feel the most comfortable with Java.
We also started talking more in depth about Collatz, our first programming project in this class. It also goes by the name of the "3n + 1" problem, given that the claim is that given any positive number N, you will divide by 2 if N is even or multiply times 3 and add 1 if N is odd. The theory says that if you repeatedly run that loop you will arrive at 1. I guess those who have taken Software Engineering (me amongst them) had it a bit easier than the rest because Collatz is also the first project in that class; the only difference is that it is in Python. So I grabbed my Python solution and translated it to C++. I still had to come up with the logic at one point so it is still my own work. I would say that the most tedious part about this project is everything else you have to do besides the function you have to write. Because, really, this project is about getting us to feel familiarized with the repository convention that is so predominant "out there". Thankfully, I feel very comfortable with git so it's been a very pleasant first week. Can't complain! I am looking forward to the rest of the class

No comments:

Post a Comment