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

Divide itmmorgue to different modules #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Divide itmmorgue to different modules #56

wants to merge 1 commit into from

Conversation

csepanda
Copy link

  • Leave main entry point logic in itmmorgue.c;
  • Add error module;
  • Add ioutils module;
  • Add logger module;
  • Add strutils;
  • Add time module;

Reason of refactoring is that itmmorgue.c contains entry point
and implementation of often used functions. Furthermore
it is bunch of mixed logic in one file and it's better to follow
single responsibility principle.

 - Leave main entry point logic in itmmorgue.c;
 - Add error module;
 - Add ioutils module;
 - Add logger module;
 - Add strutils;
 - Add time module;

Reason of refactoring is that itmmorgue.c contains entry point
and implementation of often used functions. Furthermore
it is bunch of mixed logic in one file and it's better to follow
single responsibility principle.
@zhmylove
Copy link
Owner

@ValeriyKr что будем делать с #56 ?
В принципе, особо хуже он не делает, я считаю.
Но лучше семь раз подумать и один раз отрезать.

@ValeriyKr
Copy link
Collaborator

ValeriyKr commented Mar 25, 2018 via email

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.

3 participants