Error'd: The Hardest Problem
It has been infamously stated that the two hardest problemsin computer science are naming, caching, and off-by-one errors. Mixing and matching arrays indexed from 0 with arrays indexedfrom 1 could be a special-case of the off-by-one error.
The zeroth of a sudden rash of anonymous posters spotted this initial example, coughing "Pre-increment seems somehowinappropriate here."
Carlos follows up with a third, muttering"The image is pretty self-explanatory.Off-by-one error, maybe? I don't even know." Honestly,it took me a moment.
Another topically anonymous donor wonders "Are those $USD or $AUD?" Must be US dollars; in OZ they'd be $aNa.
The last of our anonymous cohort crowed "Vaccination rate is better than I thought."
Finally, the not entirely anonymousDavid B. dishes on his disguised employer."At $WORK to log into some of the external sitesrequires SSO, sometimes SSO gives you a niceerror message. Sometimes you get this. $WORK isa very large software company, it should beable to do better."
[Advertisement] ProGet's got you covered with security and access controls on your NuGet feeds. Learn more.