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.
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.