{"id":45,"date":"2008-02-17T15:33:10","date_gmt":"2008-02-17T14:33:10","guid":{"rendered":"http:\/\/www.bluej.org\/mrt\/?p=45"},"modified":"2020-05-15T15:46:01","modified_gmt":"2020-05-15T15:46:01","slug":"programming-is-not-hard-knowing-what-to-program-is-hard","status":"publish","type":"post","link":"https:\/\/blogs.kcl.ac.uk\/proged\/2008\/02\/17\/programming-is-not-hard-knowing-what-to-program-is-hard\/","title":{"rendered":"Programming is not hard &#8211; Knowing what to program is hard"},"content":{"rendered":"<p>Programming is not hard.<\/p>\n<p>Sure, there are plenty of examples you can pull out of the bag that have really brain-numbingly complex algorithms in them, and they are indeed hard to program, but they are really the exception. For most programmers and most programs, this is not the case.<\/p>\n<p>Most programs that fail do so not because the implementation is done badly or fails altogether, but because they implement the wrong things. Its not that the programming was hard, but that they programmed something nobody wants.<\/p>\n<p>Deciding what you should program is where all the beef is.<br \/>\n<!--more--><br \/>\nThe point I&#8217;m trying to make is maybe most prominent with beginners (although it is really not only about beginners \u2013 this misconception exists widely throughout all levels of programmers).<\/p>\n<p>When I teach first-year students to program, they always think that learning how to implement their programs \u2013 how to write nice, correct, maintainable, good quality code \u2013 is the hard bit. Once you can do this, they think, you&#8217;re out of the deep water and in a much more comfortable zone. Maybe it&#8217;s good to believe this initially. After all, you cannot learn everything at the same time, and you cannot learn those things which require experience at the start.<\/p>\n<p>The truth, however, is: Learning to implement your problem is really the easy bit. Well, easy, relatively speaking. When I see bad software (and you can find a lot of it), it is almost never the implementation that is the killer. It is partly user interfaces, and mostly functionality.<\/p>\n<p>The applications just don&#8217;t do the things I want them to!<\/p>\n<p>This observation is the same at all levels. It is true for final year student projects, shareware I find on the internet, and professional software that I pay good money for.<\/p>\n<p>So many programmers with adequate implementation ability sit down and write programs that do things that end users really don&#8217;t want. And they don&#8217;t get the right ideas to implement stuff that would be of good value. The process of making decisions about what functionality should go into a program (and then what the UI should look like) is really where the 80% of software that is essentially rubbish falls down.<\/p>\n<p>It&#8217;s not how to do things that&#8217;s difficult, it is knowing what is worth doing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Programming is not hard. Sure, there are plenty of examples you can pull out of the bag that have really brain-numbingly complex algorithms in them, and they are indeed hard to program, but they are really the exception. For most &hellip; <a href=\"https:\/\/blogs.kcl.ac.uk\/proged\/2008\/02\/17\/programming-is-not-hard-knowing-what-to-program-is-hard\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":179,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[34],"class_list":["post-45","post","type-post","status-publish","format-standard","hentry","category-programming","tag-coding"],"_links":{"self":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts\/45","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/users\/179"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":1,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts\/45\/revisions"}],"predecessor-version":[{"id":1046,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts\/45\/revisions\/1046"}],"wp:attachment":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/media?parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/categories?post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/tags?post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}