[О блоге] [наверх] [пред] [2020-05-28 18:12:53+03:00] [6b050e47ac03e76d26ed274a1c9e5464dc7286c8]
Темы: [fun][tip]

Понравилось исправление баги

В одной рассылке увидел:

    > int x, y, sum;  // x, y, and sum are integers (numbers)
    > sum = x - y;    // sum up x and y

    You're being too generous to college trained monkeys (aka "coders" vs.
    "programmer") they would fix the bug as follows:

              sum = x - ( -y );

    [оставить комментарий]