5 ms·
Back when I was in high school and programming on the original IBM PCs I wrote a program that would graph "solids of rotation" (a function rotated around the X
by sprior 4y ago
Back when I was in high school and programming on the original IBM PCs I wrote a program that would graph "solids of rotation" (a function rotated around the X axis). Well I chose the obvious name based on the 8.3 filename limitations. One day someone looked over my shoulder and said "you named your program solid rot???"
Oops.
- Firmwarrior 4y agoIs/was "solid rot" slang for something somewhere?
- runnerup 4y agoNot sure. Assumed it was “poop” though.
- sprior 4y agoIn my head it was just part of solid and rotation which was exactly that the code did and all I ever thought of, but once the other person pointed it out it was like "oh, right".
- ClassyJacket 4y agoYes but what's the "dirty" meaning? What were they pointing out? It's not aparrent.
- timthorn 4y agoSeems so. I don't know what it is, but I'd rather not Google for it myself.
- lupire 4y ago"rot" means "decayed/decomposed". It's got a negative connotation.
- not2b 4y agoIt gets worse. A very long time ago a was working for a startup that was doing real-time speech compression, for telephony applications, using a DSP, with the compression/decompression implemented in assembly language. The code had two processes, an analysis process and a synthesis process. My colleague named the entry point to the synthesis process synth_entry, and he named the entry point to the analysis process anal_entry. Either he honestly didn't realize, as he claimed, or he was better at keeping a straight face than anyone I ever met.
- sprior 4y agoI think programmers get used to the idea that some names for things are never meant to be spoken and don't ever say them in their head to see what they'd sound like.
- smabie 4y agoReminds me of a variable name at my last job, fagg. Stood for like frequency aggregator or something..
- mcculley 4y agoAlso, some people don’t have an “inner voice”. I don’t hear words when I read them. Sometimes I miss puns if I don’t go back and sound them out.
- sprior 4y agoI heard about that recently, I can't imagine how that works.
- thawaya3113 4y agoI wouldn’t be surprised if I have a few “anal”s lying around in veritable names I’ve written over the years. We have a lot of “analysis” in our application and I bet I have shortened them a few times, and in my head I would have pronounced it as uh-naa-l not realizing what it also looked like.
- 91edec 4y agoI was adding juice to a cockpit simulator game, a whole bunch of lerping and dampening of the position/rotation to react to user input. Didn't realise that I had abbreviated cockpitRotation -> cockRot until I submitted the pull request.