Michael-Schneider97 / sodaVerifier

Soda purchase authentication
0 stars 0 forks source link

Refactor code to FSM design pattern #2

Closed Michael-Schneider97 closed 3 months ago

Michael-Schneider97 commented 3 months ago

Client requested ability to turn machine off before timer runs out.

Code is due for a refactor to FSM pattern.

These issues are together since fixing one will fix the other.

Michael-Schneider97 commented 3 months ago

Moving the feature request to a seperate issue so we can focus on the refactor first.

Michael-Schneider97 commented 3 months ago

Looking at the code, this refactor ended up being more of a rewrite. I’m not merging this since it’s mostly a testament to rewriting and overengineering existing code causing than solutions. I’m either opening a new issue or doing small refactors of commonly touched code while working on new features.