1 min readOct 1, 2019
I agree with all the points above. Unit tests also make reading code easy because I know what the expected result of each component is, which is nice.
I think it’s better than comments because it’s updated more often in most cases so it serves as a great way to document code.