{"id":461,"date":"2006-06-26T16:33:09","date_gmt":"2006-06-26T21:33:09","guid":{"rendered":"http:\/\/www.shamusyoung.com\/twentysidedtale\/?p=461"},"modified":"2006-06-26T16:38:44","modified_gmt":"2006-06-26T21:38:44","slug":"how-do-you-know-what-to-type","status":"publish","type":"post","link":"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=461","title":{"rendered":"How do you know what to type?"},"content":{"rendered":"<p>I&#8217;ve been programming in one form or another since I was eleven or twelve.  That&#8217;s over two decades of coding.  Not as much as some, but still more than most coders my age. I started with BASIC, learned only enough of the infuriating and overly verbose COBOL, and finally moved on to more useful languages when I was about nineteen.<\/p>\n<p>It&#8217;s a mysterious process to some.  Very often fellow high-school students would come over to my computer and look at what I was doing.  They would look at the incomprehensible stuff on the screen and ask, &#8220;How do you know what to type?&#8221;<\/p>\n<p>How does one answer this question? When I was young and socially inept I would try to give the questioner a little explanation about programming languages, which I think was a larger answer than they cared to endure.  What they were really wondering about (but didn&#8217;t know how to ask) is how so much (seeming) gibberish can do something meaningful.  The problem was that programming was a mystery to them.  They were familiar with other complex tasks like playing the piano, building a house, flying a jet, or writing an essay, but none of them had any idea what programming was or how it worked.  <\/p>\n<p>The next generation doesn&#8217;t seem to have this problem.  My younger brother (thirteen years younger) doesn&#8217;t know how to program, but he has some sort of grasp of the concept that these are instructions for the computer.  He has some sort of framework to hang it on, and coding is not arcane magic to him.  <\/p>\n<p>But this ignorance endures in previous generations, and causes all sorts of professional problems when I end up doing work for a client who knows nothing about what coding is or how it works.<\/p>\n<blockquote><p><i><br \/>\nCLIENT: Quick! We need you to build a house by next Monday!<\/p>\n<p>ME: Well, you don&#8217;t usually build houses that fast, but what sort of house are you looking for?<\/p>\n<p>CLIENT: Oh, we don&#8217;t have all the details yet, but we know we are really going to need it by Monday.<\/p>\n<p>ME: (Deep sigh) Okay, so give me some sort of rough idea.  One story or two?<\/p>\n<p>CLIENT: Probably one but we might decide on two later.  I&#8217;ll get back to you on Wednesday.<\/p>\n<p>ME: I kind of need to know that now.  So is it going to be brick or wood?<\/p>\n<p>CLIENT: Just make it an option. <\/p>\n<p>ME: That&#8217;s what I&#8217;m doing.<\/p>\n<p>CLIENT: But for later.<\/p>\n<p>ME: Wait.  You want to be able to switch between wood and brick <b>after I build it<\/b>?<\/p>\n<p>CLIENT: That would be great, yeah.<\/p>\n<p>ME: You can&#8217;t&#8230; I don&#8217;t&#8230; That isn&#8217;t&#8230; Look, it can&#8217;t be both.  I just can&#8217;t.  It has to be one or the other.<\/p>\n<p>CLIENT: (disappointed) You sure?  Okay then.  I&#8217;ll talk to my boss and see what he says.  I&#8217;ll get back to you tomorrow.<\/p>\n<p>ME: I see.  So how big is the house?<\/p>\n<p>CLIENT: How would I know?<\/p>\n<p>ME: How big do you need it?<\/p>\n<p>CLIENT: Well, just make it as big as the property&#8230;<\/p>\n<p>ME: Which is?<\/p>\n<p>CLIENT: I&#8217;m not sure.  We have a couple of properties we&#8217;re looking at.  One is a half-acre, the other is a full acre.  <\/p>\n<p>ME: So you&#8217;re not sure what you want, what it should look like, or where you want it, and all you DO know is that you need a half-acre house by Monday?<\/p>\n<p>CLIENT: Is that a problem?<\/p>\n<p>ME: I really need to know these details.<\/p>\n<p>CLIENT: Look, just get started right now, and we&#8217;ll fill you in on the details as we come up with them.  I do have the details of how we want the roof to look, so you could start on that while you wait for the other info.<\/i><\/p><\/blockquote>\n<p>Keep in mind that this client is not a jerk, a moron, or a sadist.  The problem is that they have no idea what I do or how I do it.  When I tell them I need the specs of how the program needs to work, they will invariably tell me what they want the dialog boxes to look like.  This is the part they see and understand, and this is the part they have in mind when they tell me what they want.  Once the interface is done, then they can iron out all those &#8220;other details&#8221;, like what the thing <em>does<\/em> when you push all those buttons.<\/p>\n<p>The hardest part of coding isn&#8217;t coding.  The hardest part is getting people to tell you what they need.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been programming in one form or another since I was eleven or twelve. That&#8217;s over two decades of coding. Not as much as some, but still more than most coders my age. I started with BASIC, learned only enough of the infuriating and overly verbose COBOL, and finally moved on to more useful languages [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-461","post","type-post","status-publish","format-standard","hentry","category-rants"],"_links":{"self":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=461"}],"version-history":[{"count":0,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/461\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}