nus-cs2103-AY2021S1 / forum

20 stars 2 forks source link

Penalty for not following coding principles #345

Closed MarcTzh closed 4 years ago

MarcTzh commented 4 years ago

I am currently writing test cases for a new object similar to tasks, it is quite cumbersome to write so many classes for the sole purpose of testing e.g. TaskBuilder, TypicalTask. If I were to write test cases that are effective but not as well written as those in AB will I be penalised?

An example of such code is as follows:

Screenshot 2020-10-21 at 4 04 17 PM
damithc commented 4 years ago

Sure, you can try different approaches so that you can compare and learn the pros and cons of each. The current AB3 approach may not be the best.

MarcTzh commented 4 years ago

Ok, thanks prof