abadidea on Nostr: A few times I have told the anecdote that the singly most baffling thing I ever saw ...
A few times I have told the anecdote that the singly most baffling thing I ever saw in a code review — not the most insecure, just the most “how could a real programmer have written this? how could this ever make sense?” thing — was simply a C++ variable “number_of_trucks” … declared as float. Unambiguously referring to real physical trucks in a fleet.
Reader, it’s been over ten years and I am blowing the gods damn whistle. I had edited that story to protect the guilty: the variable was named number_of_planes. It was shipped by a company whose name begins with “B” and rhymes with “GOING out of business.”
Published at
2024-02-02 08:23:09Event JSON
{
"id": "8904d92d235c691b5e7d325b4356cb3eebcede234f312fc163e3431e58221270",
"pubkey": "55a8695b9cf3190d9ce185047c3f8d26967b811731996cd0a62ee8762f5c96cf",
"created_at": 1706858589,
"kind": 1,
"tags": [
[
"proxy",
"https://infosec.exchange/users/0xabad1dea/statuses/111860684509813950",
"activitypub"
]
],
"content": "A few times I have told the anecdote that the singly most baffling thing I ever saw in a code review — not the most insecure, just the most “how could a real programmer have written this? how could this ever make sense?” thing — was simply a C++ variable “number_of_trucks” … declared as float. Unambiguously referring to real physical trucks in a fleet. \n\nReader, it’s been over ten years and I am blowing the gods damn whistle. I had edited that story to protect the guilty: the variable was named number_of_planes. It was shipped by a company whose name begins with “B” and rhymes with “GOING out of business.”",
"sig": "cddaa265142b1e2ba91cbab541ed9d0b48f3deaceaf32e4a645f0f5d3d974a95d0a0354414d7053ec40ef8173ca2c9ec639fbf2c9465914ee003ca3275c17536"
}