Ranter
Join devRant
Do all the things like
				++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
				Sign Up
			Pipeless API
				From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
				Learn More
			Comments
		- 
				
				
devs30477yMight be so developers don’t change the 3 to another number, but yeah, could’ve probably named the variable something more useful - 
				
				rageux4827y- no hardcoded values check
- naming convention check
- reusable code check
- clean code check - 
				
				
mt3o18767yOh, blessing of static code analyzers. Or rather triumph of form over the content. Maybe next time you should read the value from resources? 
Related Rants

when your code is a mess but everything work out in the end
When you keep getting +1s on a rant you posted a month ago.
Go big or go home.
Today I saw this in our code base:
private static final int THREE = 3;
To do this:
rating += THREE;
I laughed, and cried a little.
rant
facepalm
java
three