News for hackers. Stuff that matters.
Re:Taming names in software development by dmurray on Sunday December 11, 2022 @04:23AM (#33941613)
I've seen the same thing many times with English-speaking programmers. Plenty of people just don't spot that 'udpate_history' is misspelt.
Re:Taming names in software development by maccard on Sunday December 11, 2022 @08:01AM (#33942785)
And sometimes that mistake propagates and leaves us 25 years later still using referer [0]

[0] https://annaken.github.io/a-brief-history-of-the-referer-hea...

Re:Taming names in software development by dmurray on Sunday December 11, 2022 @10:03AM (#33943758)
This one always seemed to me like a plausible alternative spelling (cf. traveler for traveller).

Maybe the reviewers who let this through were speakers of British English who knew it was misspelt but conceded it without a fight, having already lost on color, gray, center...

Re:Taming names in software development by thaumasiotes on Sunday December 11, 2022 @01:09PM (#33945655)
Traveler is stressed on the first syllable; referrer is not.
Re:Taming names in software development by mumblemumble on Sunday December 11, 2022 @09:21AM (#33943434)
This is me.

The invention of the symbol name spellchecker a decade or so back has been a wonderful boon for me. It's a little annoying to teach it the new jargon when I'm getting started in a new codebase, but it's easily a net time saver. Catching spelling errors when you first create the new symbol is always cheaper than fixing them after it's being referenced from 15 different files and can't be fixed without another code review.