CST 338 Week 2

 >Discuss the topics covered in  Lab 00 and Lab 01 specifically, unit tests, git commands, and interfaces

 

Labs 00 and Labs 01 worked to help get me familiar with IntelliJ and Java as well as experience coming up with unit tests, namely those involving assertEquals and assertNotEquals. Working with github, cloning repositories, and pull requests also feel like second nature already. Git commands themselves, while we learned a lot from learngitbranching.js.org, most of them still feel unnecessary for the work we're doing now. I have forced myself to commit and make new branches specifically through the terminal with git commit -m and git checkout -b, but that's it so far. My understanding of interfaces is that they are a template that we can use to create other classes. They're important because classes in Java can only extend one parent class, but can implement multiple interfaces.

So far, the programming work we've done has gone over my head a bit as I've forgotten a lot of my knowledge from my Object Oriented Programming course from years ago, but I am slowly building comfort and getting better at recognizing what Dr. C's code is doing.

>Discuss the process of solving the Coding Bat challenges.

  • Did you plan it out or throw code at it? 
  • What worked?
  • What DID NOT work?
  • How many tries did it take?   
I throw code at it. I prefer to just get some code that runs and see what it does so I can see what it's doing and adjust it later. Codingbat is really nice for practice because the tests are done for you. You can see immediately what your output is as well as what works. The first couple of problems in any given section have been difficult since I'm often not sure where to start, but after that it's usually smooth sailing as I can recycle concepts while building upon them. I'd say the beginning of any section takes 5 or 6 attempts, but the required sections after that have all been only 1 or 2.

>Codingbat Walkthrough
https://youtu.be/kPX0qlSaxfQ

Comments

Popular posts from this blog

CST349 & CST300 Week 4

CST 349 & CST300 Week 2

CST 349 and CST 300 - Week 1 Learning Journal