blachlylab / vgel

Virtual gel fragment size selection
0 stars 0 forks source link

Thoughts on SRP #3

Closed kwkroll32 closed 7 years ago

kwkroll32 commented 8 years ago

The Single Responsibility Principle states that a module or class should only be responsible for a single aspect of the program. But, it looks like almost all the reading, writing, and logic happen in the vgel function. Would you mind if I refactored the code and created separate functions, to align with this maxim? This may be a good stepping-stone to implementing channels and goroutines.

jblachly commented 7 years ago

Would not refactor as this is not an OO program/paradigm.