Monday, September 24, 2012

Just finished Homework 2 and it feels good to get some more perforce experience. In my previous perforce classes I hadn't dared to try out branching and merging and things like that. In general I followed one line of logic and tweaked and fixed as I went. Not much experimenting going on there so it's good to see what this software can do. I'll most certainly be using this in the future.

There were a couple of parts where I had problems and they mostly seemed to be related to my transition from being primarily a C++ programmer trying to deal with C#. At first I didn't have the new classes as their own files. I declared them in line with the main program. I think once I realized the semantic difference here it wasn't hard to cut and paste the classes into their own files and add to perforce. The language itself isn't too hard to pick up though. One of the other obstacle I had here was the fact that in C++ the idea of pointers has really been driven into my skull. It is difficult to adjust away from this and trust that the language will take care of me. A couple of times I wasn't exactly sure how to sort it out so i called a variable a ptr and used it similarly.

Perforce isn't difficult when you're the one taking care of everything. I can definitely see how down the road when we're combining files from different programmers this could be a bit hellish. let's hope my code review skills are up to the challenge.

-AP

No comments:

Post a Comment