From: Sergey Matveev Date: Thu, 28 May 2020 15:12:53 +0000 (+0300) Subject: Понравилось исправление баги X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=6b050e47ac03e76d26ed274a1c9e5464dc7286c8;p=stargrave-blog.git Понравилось исправление баги В одной рассылке увидел: > 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 ); ---