-Поиск по дневнику

Поиск сообщений в rss_thedaily_wtf

 -Подписка по e-mail

 

 -Постоянные читатели

 -Статистика

Статистика LiveInternet.ru: показано количество хитов и посетителей
Создан: 06.04.2008
Записей:
Комментариев:
Написано: 0


Error'd: The Hardest Problem

Пятница, 04 Марта 2022 г. 09:30 + в цитатник

It has been infamously stated that the two hardest problems in computer science are naming, caching, and off-by-one errors. Mixing and matching arrays indexed from 0 with arrays indexed from 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 somehow inappropriate here."

one

 

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.

amazon

 

Another topically anonymous donor wonders "Are those $USD or $AUD?" Must be US dollars; in OZ they'd be $aNa.

gitea

 

The last of our anonymous cohort crowed "Vaccination rate is better than I thought."

coverage

 

Finally, the not entirely anonymous David B. dishes on his disguised employer. "At $WORK to log into some of the external sites requires SSO, sometimes SSO gives you a nice error message. Sometimes you get this. $WORK is a very large software company, it should be able to do better."

ajax

 

[Advertisement] ProGet’s got you covered with security and access controls on your NuGet feeds. Learn more.

https://thedailywtf.com/articles/the-hardest-problem

Метки:  

 

Добавить комментарий:
Текст комментария: смайлики

Проверка орфографии: (найти ошибки)

Прикрепить картинку:

 Переводить URL в ссылку
 Подписаться на комментарии
 Подписать картинку