Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pattern: Making the calculation part independent #32

Open
yuhattor opened this issue Aug 17, 2023 · 0 comments
Open

Pattern: Making the calculation part independent #32

yuhattor opened this issue Aug 17, 2023 · 0 comments

Comments

@yuhattor
Copy link
Owner

Description

In the rapidly evolving world of software development, relying on tools like GitHub Copilot can enhance the development process. However, current versions of large language models may have limitations when handling complex calculations. To address this, developers can refactor their code by moving the computation part to another function. This improves code maintainability, readability, and makes it easier to test and develop with AI tools. Imagine a developer building a financial software system who needs to separate interest calculations from the user interface logic. Every time GitHub Copilot rewrites a particular piece of code, verifying that the logic is correct is a very cumbersome task. By separating this complex computation, you create a codebase that can work with a flexible and more durable AI.

https://www.ai-native.dev/docs/refactoring/making-the-calculation-part-independent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Lv1 - Early-Stage Patterns
Development

No branches or pull requests

1 participant