Jesse Duncan

Bartender
+ Follow
since Oct 25, 2019
Jesse likes ...
Firefox Browser MySQL Database Java Ubuntu
I dabbled in writing C code for micro controllers for a bit. Around June 2019 I was introduced to Java. I loved it from the start. I am now an Oracle Certified Java SE 11 Professional.
Cows and Likes
Cows
Total received
47
In last 30 days
2
Total given
16
Likes
Total received
143
Received in last 30 days
4
Total given
106
Given in last 30 days
1
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt Green check

Recent posts by Jesse Duncan

I can't make it this time around, although I'd love to be there.
1 week ago
Are there any updates? So far it seems the leading days on the cow poll are tomorrow and Friday afternoon.
2 weeks ago
Question: Do you decouple your test classes from your code classes, and if so, what does the structure of your tests look like?

Context: I watched this Uncle Bob video on TDD and I found this particular Q&A interesting: https://youtu.be/58jGpV2Cg50?t=4984.

To paraphrase (badly): Q: Should every class have a matching unit test class? Uncle Bob's response: It is a bad idea to couple the tests to the structure of the classes, because this will make the tests fragile. He also gives a recommendation on how to avoid this.
1 month ago
You should believe it already then
1 month ago
I would absolutely love to watch!
1 month ago
It looks like I'm doing the same as Tim:
6 months ago
I used the same BingoBoard class for both parts:

The rest is basically the same for part 1 and 2, only the logic is switched to select the board with the least moves instead of the most:


6 months ago
Part 2:
6 months ago
My solution to part one; not great but it worked.
6 months ago
My solution to part two (my original didn't use the new switch syntax, though. It is so much neater!):

6 months ago
I don't know how to do fancy stuff, so I just did a simple Submarine class with methods to update its values in the specified way. I hardly had to change it for the second part. I work in Ruby for my day job, so I'm taking this as a opportunity to remember my Java.
6 months ago
I'm looking forward to it, though I don't expect to get far
7 months ago
Congrats to all of you
7 months ago
Congratulations all!
8 months ago
Hi there, welcome to the Ranch!

This thread is 17 years old, would you like to create a new topic and give more details about what you are trying to do?
8 months ago