fixing spelling mistake in method name

Posted by One Two Three on Programmers See other posts from Programmers or by One Two Three
Published on 2014-06-11T16:53:57Z Indexed on 2014/06/11 21:38 UTC
Read the original article Hit count: 193

Filed under:

One of the methods that I commonly use in our codebase is misspelled (and it predated me).

This really irritates me not simply because it is mispelled but more importantly it makes me ALWAYS get the method name wrong the first time I type it (and then I have to remember "Oh, right, it should be mispelled to this...")

I'm making a few changes around the original method. Should I take the opportunity to just rename the freaking method?

© Programmers or respective owner

Related posts about refactoring