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

Code review, refactoring, cleanup #28

Open
tomcornall opened this issue Jan 5, 2018 · 1 comment
Open

Code review, refactoring, cleanup #28

tomcornall opened this issue Jan 5, 2018 · 1 comment

Comments

@tomcornall
Copy link
Contributor

Notes

  1. Functions are executed on run, linearly.
  2. No classes.
  3. Lot of synchronous functions - file reads, etc. that could by asynchronous.
  4. File is large, many lines.
  5. Config read - library to separate it out, lemonsync readConfig should just be reading from an input.
  6. Console Read tool/library.
  7. File tracking - use classes for abstracting the stuff happening to them (adding together, scanning them, reading, writing)
  8. ES6!
@robotpony
Copy link
Member

Suggestions were:

  • break into classes based on obvious concepts
  • split into one module, and one CLI wrapper (may require some events firing back to allow for screen updates)

Pitch basics to group as a learning session, so we can all discuss.

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

No branches or pull requests

2 participants