{"id":211,"date":"2002-05-05T00:03:32","date_gmt":"2002-05-05T00:03:32","guid":{"rendered":"https:\/\/www.joelonsoftware.com\/?p=211"},"modified":"2002-05-05T00:03:32","modified_gmt":"2002-05-05T00:03:32","slug":"20020505","status":"publish","type":"post","link":"https:\/\/www.joelonsoftware.com\/2002\/05\/05\/20020505\/","title":{"rendered":"2002\/05\/05"},"content":{"rendered":"<p><P>Why do developers choose&nbsp;one&nbsp;programming language over another for a given task?<\/P> <P>Sometimes I choose raw C when I need blazing speed.<\/P> <P>When I want something that will run on Windows with as small a distribution as possible, I often choose&nbsp;C++ with MFC&nbsp;statically linked.<\/P> <P>When we need a GUI that will run on&nbsp;Mac, Windows, and Linux, a common choice is Java (although the GUI will not be perfect, it will work.)<\/P> <P>For rapid GUI development and really smooth UIs, I like Visual Basic, but I know that I&#8217;m going to have to pay the price in the size of the distributable and the fact that I&#8217;ll be locked into Windows.<\/P> <P>For a command-line tool that must run on any UNIX machine and doesn&#8217;t need to be fast, perl is a good choice.<\/P> <P>If you have to run inside a web browser, JavaScript is the really the only choice. In a SQL stored procedure, you usually get to choose between one vendor&#8217;s proprietary SQL derivative or go home.<\/P> <P><STRONG>What&#8217;s the Point?<\/STRONG><\/P> <P>But I hardly ever choose a language based on syntax. Yeah, I prefer the {}; languages (C\/C++\/C#\/Java). And I have lots of opinions as to what makes a &#8220;good&#8221; syntax. But I wouldn&#8217;t accept a 20 MB runtime just to get semicolons.<\/P> <P>Which makes me wonder a bit about .NET&#8217;s cross-language strategy. The idea is, choose any language you want, there are zillions, and they all work the same way.<\/P> <P>VB.NET and C#.NET are virtually identical except for tiny syntactic differences. And other languages that want to be part of the .NET world need to support at least a core set of features and types or they won&#8217;t be able to Play Well With Others. But how do I develop a UNIX command line utility in .NET? How do I develop a tiny Windows EXE in less than 16K in .NET?<\/P> <P>It seems like .NET gives us a &#8220;choice&#8221; of languages precisely where we couldn&#8217;t care less about it &#8212; in the syntax.<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Why do developers choose&nbsp;one&nbsp;programming language over another for a given task? Sometimes I choose raw C when I need blazing speed. When I want something that will&hellip; <span class=\"read-more\"><a class=\"more-link\" href=\"https:\/\/www.joelonsoftware.com\/2002\/05\/05\/20020505\/\" rel=\"bookmark\">Read more <span class=\"screen-reader-text\">&#8220;2002\/05\/05&#8221;<\/span><\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[2],"tags":[],"class_list":["post-211","post","type-post","status-publish","format-standard","hentry","category-news"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/s83KNI-20020505","_links":{"self":[{"href":"https:\/\/www.joelonsoftware.com\/wp-json\/wp\/v2\/posts\/211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.joelonsoftware.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joelonsoftware.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joelonsoftware.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joelonsoftware.com\/wp-json\/wp\/v2\/comments?post=211"}],"version-history":[{"count":0,"href":"https:\/\/www.joelonsoftware.com\/wp-json\/wp\/v2\/posts\/211\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.joelonsoftware.com\/wp-json\/wp\/v2\/media?parent=211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joelonsoftware.com\/wp-json\/wp\/v2\/categories?post=211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joelonsoftware.com\/wp-json\/wp\/v2\/tags?post=211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}