3 ms·
This feels more like developers learning that any variation on Hungarian notation is a bad idea.
by blacktriangle 6y ago
This feels more like developers learning that any variation on Hungarian notation is a bad idea.
- oblio 6y agoYou have to account for developers learning, for any code base, though. Let alone for third party dependencies :-)
- ysavir 6y agoThis feels less like a case of Hungarian Notation being a bad idea and more like a case where developers are making irresponsible updates to their code. If a variable/function/class/whatever is being updated, the naming should be updated as well, if appropriate. Blaming the original author for the actions of the maintainer is not fair.
- blacktriangle 6y agoI'd still blame the individual developer for poor naming. Naming a variable something like int_list is terrible in that it's both very specific and semantically meaningless. Either choose a semantic name like grades or part_numbers, or take a hint from ML convention and use semantically void names like "xs".
- ysavir 6y agoSure, but is there anything stopping the person updating from revising the name? The original quality of the name is not relevant to my point, which is that anyone changing the code but leaving poor names behind is complicit in the debt.