Skip to content

feat: Revised Lesson17 bankATM simulator with full test coverage#546

Closed
Ananatawa wants to merge 2 commits intocode-differently:mainfrom
Ananatawa:Lesson17
Closed

feat: Revised Lesson17 bankATM simulator with full test coverage#546
Ananatawa wants to merge 2 commits intocode-differently:mainfrom
Ananatawa:Lesson17

Conversation

@Ananatawa
Copy link
Copy Markdown
Contributor

Finally completed my Lesson17 homework with all tests passing! Used ChatGPT a LOT to help me correct errors when tests were failing and to come up with a conventional commit message. Thanks!

@@ -0,0 +1,6 @@
package com.codedifferently.lesson17.bank;

public enum CustomerType {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job using an Enum here! I’ve never seen it done this way before, but it makes perfect sense since a Customer can only be either an Individual or a Business, nothing more

Copy link
Copy Markdown
Contributor

@VicenteVigueras VicenteVigueras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job on the code! It's a positive use of AI. It would be helpful for you to revisit why you used an abstract class, inheritance, and overriding, as these OOP principles are important.

I'll close this PR now, it's a solid submission, no need for another.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants