{"id":3816,"date":"2012-07-08T15:38:53","date_gmt":"2012-07-08T14:38:53","guid":{"rendered":"https:\/\/acureus.com\/?p=3816"},"modified":"2012-07-24T08:30:16","modified_gmt":"2012-07-24T07:30:16","slug":"griechische-symbole-in-quellcode","status":"publish","type":"post","link":"https:\/\/blog.acureus.com\/?p=3816","title":{"rendered":"Griechische Symbole in Quellcode"},"content":{"rendered":"<p>H\u00e4ufig lese ich in Foren Beitr\u00e4ge der folgenden Art, meistens von Physikern geschrieben: &#8222;Ich w\u00fcrde gerne griechische Symbole in meinem Quellcode verwenden.&#8220;<br \/>\nDann denke ich mir:<\/p>\n<ol>\n<li>Du Idiot.<\/li>\n<li>Du Idiot.<\/li>\n<li>Wo liegt das Problem? Wenn du ein Idiot sein willst, dann tu es doch einfach.<\/li>\n<\/ol>\n<p>Viele moderne Sprachen unterst\u00fctzen Unicode auch im Quellcode. Folgendes Code-Beispiel ist g\u00fcltiger <a href=\"http:\/\/de.wikipedia.org\/wiki\/C-Sharp\" title=\"C# auf Wikipedia\">C#<\/a>-Code:<br \/>\n<figure id=\"attachment_3822\" aria-describedby=\"caption-attachment-3822\" style=\"width: 156px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/acureus.com\/?attachment_id=3822\" rel=\"attachment wp-att-3822\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/acureus.com\/wp-content\/uploads\/2012\/07\/C-Sharp-mit-Unicode-transparent.png\" alt=\"\" title=\"C-Sharp-mit-Unicode-transparent\" width=\"156\" height=\"66\" class=\"size-full wp-image-3822\" \/><\/a><figcaption id=\"caption-attachment-3822\" class=\"wp-caption-text\">C#-Code mit griechischen Symbolen<\/figcaption><\/figure><br \/>\nEbenfalls sind asiatische Schriftzeichen erlaubt:<br \/>\n<figure id=\"attachment_3826\" aria-describedby=\"caption-attachment-3826\" style=\"width: 518px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/acureus.com\/?attachment_id=3826\" rel=\"attachment wp-att-3826\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/acureus.com\/wp-content\/uploads\/2012\/07\/C-Sharp-mit-Kanji-transparent.png\" alt=\"\" title=\"C-Sharp-mit-Kanji-transparent\" width=\"518\" height=\"37\" class=\"size-full wp-image-3826\" \/><\/a><figcaption id=\"caption-attachment-3826\" class=\"wp-caption-text\">C#-Code mit Kanjis<\/figcaption><\/figure><br \/>\nBedenke jedoch: <a href=\"http:\/\/stackoverflow.com\/questions\/2793792\/is-it-a-good-idea-to-use-unicode-symbols-as-java-identifiers\">Should I really do that?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>H\u00e4ufig lese ich in Foren Beitr\u00e4ge der folgenden Art, meistens von Physikern geschrieben: &#8222;Ich w\u00fcrde gerne griechische Symbole in meinem Quellcode verwenden.&#8220; Dann denke ich mir: Du Idiot. Du Idiot. Wo liegt das Problem? Wenn du ein Idiot sein willst, dann tu es doch einfach. Viele moderne Sprachen unterst\u00fctzen Unicode auch im Quellcode. Folgendes Code-Beispiel [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[460,543,609,610],"class_list":["post-3816","post","type-post","status-publish","format-standard","hentry","category-technik","tag-idiotie","tag-programmieren","tag-quellcode","tag-unicode"],"_links":{"self":[{"href":"https:\/\/blog.acureus.com\/index.php?rest_route=\/wp\/v2\/posts\/3816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.acureus.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.acureus.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.acureus.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.acureus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3816"}],"version-history":[{"count":8,"href":"https:\/\/blog.acureus.com\/index.php?rest_route=\/wp\/v2\/posts\/3816\/revisions"}],"predecessor-version":[{"id":3849,"href":"https:\/\/blog.acureus.com\/index.php?rest_route=\/wp\/v2\/posts\/3816\/revisions\/3849"}],"wp:attachment":[{"href":"https:\/\/blog.acureus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.acureus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.acureus.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}