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
-
sariel85312yOh man, these always get me.
I'm slightly dyslexic when it comes to characters.
Very dyslexic with numbers.
123 is the same as 123 to me. -
Spell checking in IDEs / editors, always a good idea.
*mumbles something about nothing makes more fun to refactor several projects due to spelling mistakes* -
@sariel *mumbles something about glorious idiots who use static constants to avoid magic strings with string concatenation*
private static String SEPARATOR = "_";
private static String API_USER_NAME = "user" + SEPARATOR + "name";
@darkwind somehow your name plopped up in my brain. That's the funky stuff the fresh recruits come up with...
Clean Coding ftw. -
Also Señor Dev:? Can’t fix it now, too many things depend on usre, you should accept the broken name and just go with it.
Related Rants
JS Console: user_name is undefined
Señor Dev: can't be the API response has it!
The API response: usre_name
rant
debugging
wk351
json
js
backend