{"id":53,"date":"2005-02-11T16:12:49","date_gmt":"2005-02-11T21:12:49","guid":{"rendered":"http:\/\/www.killersites.com\/blog\/?p=53"},"modified":"2017-02-23T10:08:38","modified_gmt":"2017-02-23T15:08:38","slug":"dont-let-theory-get-in-the-way-of-practical-application","status":"publish","type":"post","link":"https:\/\/www.killersites.com\/blog\/2005\/dont-let-theory-get-in-the-way-of-practical-application\/","title":{"rendered":"Don&#039;t let theory get in the way of practical application."},"content":{"rendered":"<p>One of the disturbing mindsets in software development and web design today, is the sacrifice of practical concerns in favor of theoretical constructs.<\/p>\n<p><strong>Case in point:<\/strong><\/p>\n<p>Recently a young friend of mine (who is studying computer engineering,) told me an interesting story about a class project where each student had to produce a piece of software &#8230; the results, and the professors reaction to the results, are interesting.<\/p>\n<p><strong>Sad but true:<\/strong><\/p>\n<p>When all things were said and done, only one student was able to produce a working application. The irony was that this student got a failing grade because his code did not meet certain theoretical constructs! <\/p>\n<p>The above example illustrates a problem in the way many programmers think: putting theory over practicality.<\/p>\n<p>With that failing grade, the professor has sent the wrong message to his students: that results are not as important as being true to the theory. And people wonder why so many Java projects fail&#8230;<\/p>\n<p><strong>Why theory over practicality is total bull: <\/strong><\/p>\n<ol>\n<li>Broken but theoretically correct software, doesn&#8217;t pay the bills.<\/li>\n<li>Theories are constantly revised; so don&#8217;t be to quick to marry them.<\/li>\n<\/ol>\n<p>I think the first point is self evident, so let&#8217;s look at the 2nd point and consider one of the fundamental theories of modern software development:  inheritance.<\/p>\n<p>At one time in the distant past (5 years ago,) design-by-inheritance was the theoritically correct method of software development. At some point though, people began to discover that inheritance had its&#8217; problems and now (in many cases,) design-by-interface* is the preferred method. <\/p>\n<p><strong>Theories change <\/strong><\/p>\n<p>The shift from design-by-inheritance to design-by-interfaces is but one example of how theories are constantly updated to reflect practical realities. <\/p>\n<p>If anything is consistent of about software development, it&#8217;s that theories change. So don&#8217;t sacrifice practical application today, to satisfy some theoretical construct that may very well be discredited tomorrow.<\/p>\n<p>&#8211;<\/p>\n<p>Stefan Mischook<\/p>\n<p>1. &#8216;bull&#8217; is a technical term that conveys a complex meaning in a terse and well understood format.<br \/>\n2. In Java,  interfaces are classes void of method implementations.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the disturbing mindsets in software development and web design today, is the sacrifice of practical concerns in favor of theoretical constructs. Case in point: Recently a young friend of mine (who is studying computer engineering,) told me an interesting story about a class project where each student had to produce a piece of &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/posts\/53"}],"collection":[{"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/comments?post=53"}],"version-history":[{"count":2,"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/posts\/53\/revisions"}],"predecessor-version":[{"id":4794,"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/posts\/53\/revisions\/4794"}],"wp:attachment":[{"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/media?parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/categories?post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/tags?post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}