Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 19, 2025

Issue requested a step-by-step implementation plan to decompose the bank account system into beginner-friendly code, with pseudo-code showing organization approaches.

Changes

Added IMPLEMENTATION_PLAN.md (510 lines) containing:

  • 6-step implementation sequence ordered by complexity (Person → Business → Account → CheckingAccount → SavingsAccount → InvestmentAccount)
  • Pseudo-code for each class showing fields, constructors, methods, and logic flow in beginner-accessible format
  • Common mistakes section with side-by-side wrong/correct examples for typical beginner errors (uninitialized fields, missing returns, incorrect super() usage)
  • OOP concepts mapping to TDD test expectations (encapsulation, inheritance, polymorphism)
  • Testing strategy per step with expected pass counts (53 total tests)

Example pseudo-code structure

CLASS SavingsAccount EXTENDS Account:
    FIELDS:
        interestRate (Double)
    
    METHOD applyInterest():
        CALCULATE interestAmount = balance * interestRate
        ADD interestAmount to balance
        # Example: balance = 1000, rate = 0.05
        # new balance = 1000 + 50 = 1050
    
    OVERRIDE METHOD debit(amount):
        IF amount > balance:
            DO NOT allow the transaction
        ELSE:
            CALL parent debit method

Plan aligns with existing test structure and provides clear decomposition from simple POJOs through abstract inheritance to polymorphic behavior.

Original prompt

This section details on the original issue you should resolve

<issue_title>Develop an implementation plan</issue_title>
<issue_description>Create an implementation plan that provides direction on how to step by step decompose this programming project into easy to write code.

The programmers doing this activity are beginners. </issue_description>

Comments on the Issue (you are @copilot in this section)

@kristofer Use pseudo-code to show possible ways to organize the code.

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: kristofer <17994+kristofer@users.noreply.github.com>
Copilot AI changed the title [WIP] Create implementation plan for programming project Add implementation plan with pseudo-code for beginner programmers Nov 19, 2025
Copilot AI requested a review from kristofer November 19, 2025 13:11
Copilot finished work on behalf of kristofer November 19, 2025 13:12
@kristofer kristofer marked this pull request as ready for review November 19, 2025 13:22
@kristofer kristofer merged commit fa46ffd into master Nov 19, 2025
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.

Develop an implementation plan

2 participants