Re:Show HN: My Child's First Program
by Mawr on Tuesday December 06, 2022 @01:40PM
(#33884953)
"I got fired over a variable name...." - https://old.reddit.com/r/cscareerquestions/comments/dpcfns/i...
[ Parent
| on HN ]
lol nice find
The linked "dog story" is an.. eye opener, too:
https://old.reddit.com/r/cscareerquestions/comments/95dgrx/i...
Surprisingly I did get pulled into a meeting with the CEO and a sales/custcare guy because of a similar issue.
I wrote functions that are available for the users to use (they can customize their own dashboard). Our function conventions are camelCase. The function I wrote was something along the lines of `cumOnMetric` or something like that.
Needless to say some square somewhere thought this was a joke and didn't like it. So there I was, just blinking away and wasn't even aware this was something sensitive. It was funny sure, but I didn't have the idea that it was "unprofessional". I still feel the idea of professionalism is quite a club thing.
But yeah we got our first snake_case function name because of that.
Re:Show HN: My Child's First Program
by ikornaselur on Wednesday December 07, 2022 @03:10AM
(#33891885)
I don't see how the casing matters here? Would `cum_on_metric` somehow be better?