{"id":40913,"date":"2004-01-25T11:31:00","date_gmt":"2004-01-25T11:31:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2004\/01\/25\/german-as-rpn\/"},"modified":"2004-01-25T11:31:00","modified_gmt":"2004-01-25T11:31:00","slug":"german-as-rpn","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20040125-00\/?p=40913","title":{"rendered":"German as RPN"},"content":{"rendered":"<p>It should be noted that &#8220;Reverse Polish Notation&#8221; is named in honor of the Polish logician <a href=\"http:\/\/www.calculator.org\/Lukasiewicz.html\">Jan Lukasiewicz<\/a>, who developed prefix notation, wherein the operator comes before the operands.  Postfix notation proved more useful for stack-based arithmetic computations, and so the opposite of prefix notation came to be known as &#8220;Reverse Polish Notation&#8221;.\n It was kind of a strange feeling when I encountered Polish notation in logic class. Finally I got to see the forwards version of what I had been doing in reverse for so many years!\n Anyway, <a href=\"http:\/\/www.ercim.org\/publication\/Ercim_News\/enw32\/groenink.html\"> here&#8217;s a classic example of German as RPN<\/a>, hidden in a web page on the subject of <i>Dutch<\/i> word order.  Consider the clause &#8220;&#8230; that Frank saw Julia help Fred swim.&#8221; In German, that would be expressed as<\/p>\n<table border=\"0\">\n<tr>\n<td>&#8230;<\/td>\n<td>da&szlig;<\/td>\n<td>Frank Julia Fred<\/td>\n<td>schwimmen<\/td>\n<td>helfen<\/td>\n<td>sah.<\/td>\n<\/tr>\n<tr>\n<td>&#8230;<\/td>\n<td>that<\/td>\n<td>Frank Julia Fred<\/td>\n<td>swim<\/td>\n<td>help<\/td>\n<td>saw.<\/td>\n<\/tr>\n<\/table>\n<p> You can create this sort of constructing in English too, but nobody does this unless they are trying to cause trouble: &#8220;The rat the cat the dog chased caught died.&#8221;\n English also gets somewhat unpredictable if you decide to start the sentence with something other than the subject:<\/p>\n<table border=\"0\">\n<col style=\"padding-right: 1em\">\n<tr>\n<td>What you need I cannot give you.<\/td>\n<td>Object first, no inversion.<\/td>\n<\/tr>\n<tr>\n<td>Nothing but blue skies do I see.<\/td>\n<td>Object first with inversion.<\/td>\n<\/tr>\n<tr>\n<td>Sometimes it snows.<\/td>\n<td>Adverb first, no inversion.<\/td>\n<\/tr>\n<tr>\n<td>Rarely does it snow.<\/td>\n<td>Adverb first with inversion.<\/td>\n<\/tr>\n<\/table>\n<p> It&#8217;s like English is struggling to decide whether it wants to hang out with its Germanic buddies and use X-V-S or strike out on its own and be an S-V language.\n I found German an easy language to learn because it is much more logical, much less capricious.  &#8220;The verb goes in second position, the adjective goes in front of the noun.&#8221;\n &#8220;But what if the adjective is really long?&#8221;\n &#8220;Tough.  Goes in front.  Because that&#8217;s where adjectives go.&#8221;\n Swedish (at least to my unaccustomed ears) leans more towards the capricious end of the scale. What&#8217;s the difference between &#8220;fr&aring;n&#8221; and &#8220;ifr&aring;n&#8221; and &#8220;i fr&aring;n&#8221;? It&#8217;s probably one of those subtleties that I will never learn.<\/p>\n<p> Okay, enough about language. Geek talk resumes on Monday. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>It should be noted that &#8220;Reverse Polish Notation&#8221; is named in honor of the Polish logician Jan Lukasiewicz, who developed prefix notation, wherein the operator comes before the operands. Postfix notation proved more useful for stack-based arithmetic computations, and so the opposite of prefix notation came to be known as &#8220;Reverse Polish Notation&#8221;. It was [&hellip;]<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[103],"class_list":["post-40913","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-non-computer"],"acf":[],"blog_post_summary":"<p>It should be noted that &#8220;Reverse Polish Notation&#8221; is named in honor of the Polish logician Jan Lukasiewicz, who developed prefix notation, wherein the operator comes before the operands. Postfix notation proved more useful for stack-based arithmetic computations, and so the opposite of prefix notation came to be known as &#8220;Reverse Polish Notation&#8221;. It was [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/40913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=40913"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/40913\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=40913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=40913"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=40913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}