{"id":197266,"date":"2013-10-12T15:09:02","date_gmt":"2013-10-12T11:09:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=197266"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=197266","title":{"rendered":"<span class=\"post_title\">\u0424\u0430\u0439\u043b \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043a\u043e\u043c\u043c\u0438\u0442\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u0434 \u0443\u0445\u043e\u0434\u043e\u043c \u0441 \u0440\u0430\u0431\u043e\u0442\u044b<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u041d\u0435\u043c\u043d\u043e\u0436\u043a\u043e \u043f\u044f\u0442\u043d\u0438\u0447\u043d\u043e\u0433\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0432 \u0441\u0443\u0431\u0431\u043e\u0442\u0443. \u042f \u0434\u0443\u043c\u0430\u044e \u0432\u0441\u0435 \u0432\u0438\u0434\u0435\u043b\u0438 \u044d\u0442\u043e\u0442 \u043a\u043e\u0434:<br \/>  <img decoding=\"async\" src=\"http:\/\/i6.minus.com\/jDI0Wt5M6S2d.png\" alt=\"image\"\/><\/p>\n<p>  \u041d\u043e <b>Aras Pranckevi\u010dius<\/b> \u043f\u043e\u0448\u0435\u043b \u0435\u0449\u0435 \u0434\u0430\u043b\u044c\u0448\u0435. \u041a\u0430\u043a \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c <a href=\"https:\/\/gist.github.com\/aras-p\">\u043a\u043e\u0434<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u0442\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c?<br \/>  \u0418 \u0435\u0441\u043b\u0438 \u0432\u043d\u0430\u0447\u0430\u043b\u0435 \u0438\u0434\u0443\u0442 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b, \u0442\u043e \u0434\u0430\u043b\u044c\u0448\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f\u2026<br \/>  <a name=\"habracut\"><\/a><\/p>\n<pre><code class=\"cpp\">\/\/ Just before switching jobs: \/\/ Add one of these. \/\/ Preferably into the same commit where you do a large merge. \/\/ \/\/ This started as a tweet with a joke of &quot;C++ pro-tip: #define private public&quot;, \/\/ and then it quickly escalated into more and more evil suggestions. \/\/ I've tried to capture interesting suggestions here. \/\/ \/\/ Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, \/\/ @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, \/\/ @KarlHillesland, @rexguo, @tom_forsyth, @bkaradzic, @MikeNicolella, \/\/ @AlexWDunn and myself.     \/\/ Easy keyword replacement. Too easy to detect I think! #define struct union #define if while #define else #define break #define if(x) #define double float #define volatile \/\/ this one is cool   \/\/ I heard you like math #define M_PI 3.2f #undef FLT_MIN #define FLT_MIN (-FLT_MAX) #define floor ceil #define isnan(x) false   \/\/ Randomness based; &quot;works&quot; most of the time. #define true ((__LINE__&amp;15)!=15) #define true ((rand()&amp;15)!=15) #define if(x) if ((x) &amp;&amp; (rand()  \u0414\u043b\u044f \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0441\u0447\u0430\u0441\u0442\u044c\u044f \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e\u0442 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 Release.<\/code><\/pre>\n<p>      \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/197266\/\"> http:\/\/habrahabr.ru\/post\/197266\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u041d\u0435\u043c\u043d\u043e\u0436\u043a\u043e \u043f\u044f\u0442\u043d\u0438\u0447\u043d\u043e\u0433\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0432 \u0441\u0443\u0431\u0431\u043e\u0442\u0443. \u042f \u0434\u0443\u043c\u0430\u044e \u0432\u0441\u0435 \u0432\u0438\u0434\u0435\u043b\u0438 \u044d\u0442\u043e\u0442 \u043a\u043e\u0434:<br \/>  <img decoding=\"async\" src=\"http:\/\/i6.minus.com\/jDI0Wt5M6S2d.png\" alt=\"image\"\/><\/p>\n<p>  \u041d\u043e <b>Aras Pranckevi\u010dius<\/b> \u043f\u043e\u0448\u0435\u043b \u0435\u0449\u0435 \u0434\u0430\u043b\u044c\u0448\u0435. \u041a\u0430\u043a \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c <a href=\"https:\/\/gist.github.com\/aras-p\">\u043a\u043e\u0434<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u0442\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c?<br \/>  \u0418 \u0435\u0441\u043b\u0438 \u0432\u043d\u0430\u0447\u0430\u043b\u0435 \u0438\u0434\u0443\u0442 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b, \u0442\u043e \u0434\u0430\u043b\u044c\u0448\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f\u2026  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-197266","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/197266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=197266"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/197266\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=197266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=197266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=197266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}