nus-cs2113-AY2122S2 / forum

3 stars 2 forks source link

Adhering to SRP #70

Open siewyangzhi opened 2 years ago

siewyangzhi commented 2 years ago

Hi Professor,

For SRP am I correct to say that the class can have multiple responsibilities such as writing to file, reading from a file, creating files, saving the file contents to an array. But as long as all of these responsibilities all fall under one category such as things dealing with files, it is considered as adhering to SRP?