Week 9 - First week of CST 338
From week zero to the beginning of week 1 I learned about some new software. Every coding class I take we use a different IDE, IntelliJ is not my favorite but it is definitely a good IDE. I love the auto fill commands though they do not make sense sometimes. Dr. C is a really funny teacher also. He taught us some new git commands to use in the terminal in IntelliJ. There was git add ., git status, git commit -m "random name", git checkout -b "randomename". The first command adds all changes made from the last commit, the second one shows which branch I am in and the status of it, the third command commits the changes I made, the -m adds a message to my commit, and the last command changes the branch to whatever branch I named. I did not know this about git, but I like it. It is also nice to get the refresher on Java. I cannot wait to get into the big stuff.
As I have progressed through the weeks more, I have learned a lot more about iunit tests specifically. I vaguely remember interfaces from my previous classes, but we did not use those a lot. From the lectures I know an interface is practically a list of undefined methods. This helps classes that implement those methods to create their own methods from that interface. One thing I did not know was that all methods in an interface must be implemented in order to use that interface. I was experimenting in the shape lab and there were some errors in my code before I put the getArea() method from the shapes interface. The unit test are kind of nice. Before my knowledge of these I would run methods separately to see if they work, but unit test make it so much easier. I am still wrapping my head around the assert statements but I think I am getting the hang of it. After working with IntelliJ through week1 and now week 2 its growing on me. I like it a lot more and I see why it is being used for this class.
Comments
Post a Comment