{"id":721,"date":"2007-03-11T21:45:00","date_gmt":"2007-03-11T21:45:00","guid":{"rendered":"http:\/\/gnodal.protension.com\/journal\/?p=487"},"modified":"2007-03-11T21:45:00","modified_gmt":"2007-03-11T21:45:00","slug":"you-think-ive-been-kidding-about-culture-of-incompetence-not-jk-2","status":"publish","type":"post","link":"http:\/\/gnodal.protension.com\/journal\/archives\/721","title":{"rendered":"You think I&#039;ve been kidding about &quot;culture of incompetence&quot;? (Not j\/k!)"},"content":{"rendered":"<p><a href=\"http:\/\/www.codinghorror.com\/blog\/archives\/000781.html\" target=\"_new\">Why Can&#8217;t Programmers.. Program?<\/a> (from <a href=\"http:\/\/www.codinghorror.com\/blog\/\" target=\"_new\">Coding Horror<\/a>) quotes <a href=\"http:\/\/weblog.raganwald.com\/2007\/01\/dont-overthink-fizzbuzz.html\" target=\"_new\">Reginald Braithwaite<\/a>:<\/p>\n<blockquote><p>Like me, the author is having trouble with the fact that 199 out of 200 applicants for every programming job can\u00e2\u20ac\u2122t write code at all. I repeat: <i>they can&#8217;t write any code whatsoever.<\/i><\/p><\/blockquote>\n<p>&#8220;Codding Horror&#8221; lives up to its name:<\/p>\n<blockquote><p>After a fair bit of trial and error I&#8217;ve discovered that people who struggle to code don&#8217;t just struggle on big problems, or even smallish problems (i.e. write a implementation of a linked list). They struggle with tiny problems.<\/p>\n<blockquote><p>Write a program that prints the numbers from 1 to 100. But for multiples of three print &#8220;Fizz&#8221; instead of the number and for the multiples of five print &#8220;Buzz&#8221;. For numbers which are multiples of both three and five print &#8220;FizzBuzz&#8221;.<\/p><\/blockquote>\n<p>Most good programmers should be able to write out on paper a program which does this in a under a couple of minutes. Want to know something scary? The majority of comp sci graduates can&#8217;t. I\u00e2\u20ac\u2122ve also seen self-proclaimed senior programmers take more than 10-15 minutes to write a solution.<\/p><\/blockquote>\n<p>What can I say? For now: <i><b>Meh<\/b>!!<\/i><br \/>\nBTW: posted on Feb 26, that Horror story has received a bazillion comments.<\/p>\n<hr width=\"45%\">\nAm I stuck thinking ML patterns? I came up with this:<\/p>\n<p>i=0<br \/>\nfor j = 1 to 7<br \/>\n &nbsp; &nbsp; &nbsp;i=i+1<br \/>\n &nbsp; &nbsp; &nbsp;print i<br \/>\n &nbsp; &nbsp; &nbsp;i=i+1<br \/>\n &nbsp; &nbsp; &nbsp;print i<br \/>\n &nbsp; &nbsp; &nbsp;i=i+1<br \/>\n &nbsp; &nbsp; &nbsp;print &#8220;Fizz&#8221;<br \/>\n &nbsp; &nbsp; &nbsp;i=i+1<br \/>\n &nbsp; &nbsp; &nbsp;print i<br \/>\n &nbsp; &nbsp; &nbsp;i=i+1<br \/>\n &nbsp; &nbsp; &nbsp;print &#8220;Buzz&#8221;<br \/>\n &nbsp; &nbsp; &nbsp;i=i+1<br \/>\n &nbsp; &nbsp; &nbsp;print &#8220;Fizz&#8221;<br \/>\n &nbsp; &nbsp; &nbsp;i=i+1<br \/>\n &nbsp; &nbsp; &nbsp;print i<br \/>\n &nbsp; &nbsp; &nbsp;i=i+1<br \/>\n &nbsp; &nbsp; &nbsp;print i<br \/>\n &nbsp; &nbsp; &nbsp;i=i+1<br \/>\n &nbsp; &nbsp; &nbsp;print &#8220;Fizz&#8221;<br \/>\n &nbsp; &nbsp; &nbsp;i=i+1<br \/>\n &nbsp; &nbsp; &nbsp;print &#8220;Buzz&#8221;<br \/>\n &nbsp; &nbsp; &nbsp;i=i+1<br \/>\n &nbsp; &nbsp; &nbsp;print i<br \/>\n &nbsp; &nbsp; &nbsp;i=i+1<br \/>\n &nbsp; &nbsp; &nbsp;print i<br \/>\n &nbsp; &nbsp; &nbsp;i=i+1<br \/>\n &nbsp; &nbsp; &nbsp;print &#8220;Fizz&#8221;<br \/>\n &nbsp; &nbsp; &nbsp;i=i+1<br \/>\n &nbsp; &nbsp; &nbsp;print i<br \/>\n &nbsp; &nbsp; &nbsp;i=i+1<br \/>\n &nbsp; &nbsp; &nbsp;print &#8220;Fizz, Buzz, Brrap&#8221;<br \/>\nnext j<\/p>\n<p>Ok, fine, it ends at 105. So sue me.<\/p>\n<p>p.s. Back in the day I pressed to implement my <span style=\"font-weight:bold;\">WRO<\/span> &#8230; &#8220;Write Right, Once&#8221;. Thas was years ago. Just now, in &#8220;<a href=\"http:\/\/www.codinghorror.com\/blog\/\">Horrors<\/a>&#8220;, I came aross step #11 from <a href=\"http:\/\/www.codinghorror.com\/blog\/archives\/000103.html\">the Pragmatic Programmers&#8217; Quick Referenc<\/a>e and guess what: &#8220;DRY\u00e2\u20ac\u201cDon&#8217;t Repeat Yourself &#8211; Every piece of knowledge must have a single, unambiguous, authoritative representation within a system&#8221;. Yaa, that!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Why Can&#8217;t Programmers.. Program? (from Coding Horror) quotes Reginald Braithwaite: Like me, the author is having trouble with the fact<a href=\"http:\/\/gnodal.protension.com\/journal\/archives\/721\" class=\"searchmore\">Read the Rest&#8230;<\/a><\/p>\n<div class=\"clr\"><\/div>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/gnodal.protension.com\/journal\/wp-json\/wp\/v2\/posts\/721"}],"collection":[{"href":"http:\/\/gnodal.protension.com\/journal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gnodal.protension.com\/journal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gnodal.protension.com\/journal\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/gnodal.protension.com\/journal\/wp-json\/wp\/v2\/comments?post=721"}],"version-history":[{"count":0,"href":"http:\/\/gnodal.protension.com\/journal\/wp-json\/wp\/v2\/posts\/721\/revisions"}],"wp:attachment":[{"href":"http:\/\/gnodal.protension.com\/journal\/wp-json\/wp\/v2\/media?parent=721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gnodal.protension.com\/journal\/wp-json\/wp\/v2\/categories?post=721"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gnodal.protension.com\/journal\/wp-json\/wp\/v2\/tags?post=721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}