{"id":2109,"date":"2017-05-15T18:52:49","date_gmt":"2017-05-15T17:52:49","guid":{"rendered":"http:\/\/www.puls200.de\/?p=2109"},"modified":"2017-05-15T18:52:49","modified_gmt":"2017-05-15T17:52:49","slug":"await","status":"publish","type":"post","link":"https:\/\/www.puls200.de\/?p=2109","title":{"rendered":"await!"},"content":{"rendered":"<p>Bisher habe ich um das async\/await Pattern in C# eher einen Bogen gemacht. Grunds\u00e4tzlich war mir mehr oder weniger klar, was da vor sich geht, aber wozu <em>syntaktischer Zucker<\/em>, wenn es auch so geht? Es sieht sch\u00f6ner aus. Zumindest f\u00fcr diejenigen, die \"Sch\u00f6nheit\" f\u00fcr uns festlegen. Aber inzwischen trifft man auf Konstellationen, in denen man gar nicht mehr drumherum kommt, z.B. wenn eine Bibliothek, die man verwenden m\u00f6chte nur noch <code>LalaBlaBlubAsync(...)<\/code> Aufrufe hat, wobei die Vorversion noch mit <code>LalaBlaBlub(...)<\/code> auskam. Tja.<\/p>\n<p>Ich wollte dann doch mal etwas tiefer gehen und stie\u00df auf <a href=\"https:\/\/msdn.microsoft.com\/en-us\/magazine\/jj991977.aspx\" target=\"_blank\">diesen interessanten Artikel<\/a> (Achtung MSDN Link). Ich finde, das Konzept wird hier wirklich sch\u00f6n erkl\u00e4rt. Das Beste daran ist jedoch dieses herrliche Zitat:<\/p>\n<blockquote><p>\u201cAsynchronous code reminds me of the story of a fellow who mentioned that the world was suspended in space and was immediately challenged by an elderly lady claiming that the world rested on the back of a giant turtle. When the man enquired what the turtle was standing on, the lady replied, \u201cYou\u2019re very clever, young man, but it\u2019s turtles all the way down!\u201d<\/p><\/blockquote>\n<p>Better late than never!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bisher habe ich um das async\/await Pattern in C# eher einen Bogen gemacht. Grunds\u00e4tzlich war mir mehr oder weniger klar, was da vor sich geht, aber wozu syntaktischer Zucker, wenn es auch so geht? Es sieht sch\u00f6ner aus. Zumindest f\u00fcr &hellip; <a href=\"https:\/\/www.puls200.de\/?p=2109\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/www.puls200.de\/index.php?rest_route=\/wp\/v2\/posts\/2109"}],"collection":[{"href":"https:\/\/www.puls200.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.puls200.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.puls200.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.puls200.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2109"}],"version-history":[{"count":4,"href":"https:\/\/www.puls200.de\/index.php?rest_route=\/wp\/v2\/posts\/2109\/revisions"}],"predecessor-version":[{"id":2113,"href":"https:\/\/www.puls200.de\/index.php?rest_route=\/wp\/v2\/posts\/2109\/revisions\/2113"}],"wp:attachment":[{"href":"https:\/\/www.puls200.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.puls200.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.puls200.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}