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

Structure refactor to handle state transitions #4

Open
BreezeWhite opened this issue Jun 24, 2020 · 0 comments
Open

Structure refactor to handle state transitions #4

BreezeWhite opened this issue Jun 24, 2020 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@BreezeWhite
Copy link
Owner

BreezeWhite commented Jun 24, 2020

From the backend insights, this project has drawn some attention and used by some people. Though it functions to help people who want to buy THSR tickets, there are still lots of inconvenience using this program.

There was no detail design due to the lack of related knowledge about how to deal with state transition, meaning after each step you input the required information, there is no way back to modify what've been done, or return to the beginning. All there is an intuitive end-to-end flow of buying the ticket, a none-or-all process, making no mistakes while input.

An enhancement is thus here issued.

To better handle state transition problems, a huge refactor of code base, which takes time to develop and validate. Inspired by topics explaining about this issue, the motivation to upgrade the program has been triggered. More than just for fun, but actually to practice to realize what I've learned about all kinds of design patterns.

Well, saying all that much, this is just a note for myself lol. If anyone seeing this issue and also interested by the idea, feel free to join and contribute. All kinds of advises, code suggestions, or anything are welcome, and I would very appreciate. ^^

@BreezeWhite BreezeWhite added enhancement New feature or request help wanted Extra attention is needed labels Jun 24, 2020
@BreezeWhite BreezeWhite pinned this issue Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant