re: Refactoring is not so scary VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Don't use comments. Instead try to name your functions and variables better. Comments are perfectly fine if they're doing their job correctly. Th...
 

I was reported a wrong result from our accountant. I checked the code: it seems than taxRate has a wrong value, but the comment says it is the tax rate as per the 2018 tax code. I checked on the internet and found that .24 was the tax rate as per the 2017 tax code, the tax rate as per the 2018 tax code is .25. Comment were source of noise.

code of conduct - report abuse