{"id":10754,"date":"2018-11-30T23:02:15","date_gmt":"2018-11-30T22:02:15","guid":{"rendered":"http:\/\/www.toomik.net\/helen\/blog\/?p=10754"},"modified":"2018-12-04T23:22:34","modified_gmt":"2018-12-04T22:22:34","slug":"daily_1436_-_leethack","status":"publish","type":"post","link":"https:\/\/www.toomik.net\/helen\/blog\/2018\/11\/30\/daily_1436_-_leethack\/","title":{"rendered":"Daily: 1436 &#8211; leethack"},"content":{"rendered":"<p><img decoding=\"async\" src=\"\/helen\/blog\/images\/daily_2\/1436_leethack.jpg\" class=\"x6y4\" \/><br \/>\nWe had a knowledge day at work today, with talks and workshops on various topics. I spent much of the day playing leethack, a game of coding puzzles (sort of like <a href=\"https:\/\/adventofcode.com\/\">Advent of Code<\/a>) using <a href=\"https:\/\/golang.org\/\">Go<\/a>.<\/p>\n<p>This was my first acquaintance with Go. I&#8217;d never used the language before or even seen it up close. But it turned out to be a pretty normal-looking language, and I put my Google skills to work, and got some puzzles solved. (See also: <a href=\"https:\/\/twitter.com\/ThePracticalDev\/status\/705825638851149824\">Essential Copying and Pasting from Stack Overflow<\/a>.) I even won second prize and a chocolate medal by getting one last highly-scoring puzzle solved just 10 seconds before the end of the game.<\/p>\n<p>I&#8217;d been curious about Go since it&#8217;s an up-and-coming language. I&#8217;m sure it&#8217;s great for the things it&#8217;s great for, but having tried it, I am less interested in it than I was before. I discovered that Go has no generics, and no functional features &#8211; no <i>map<\/i> and no <i>filter<\/i>, just loops. Having solved much of last year&#8217;s Advent of Code using F#, I&#8217;ve gotten used to functional thinking, and without generics I feel half crippled as a programmer. One can get used to most things and find workarounds&#8230; but I&#8217;d much rather use a language that allows me to be productive out of the box.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We had a knowledge day at work today, with talks and workshops on various topics. I spent much of the day playing leethack, a game of coding puzzles (sort of like Advent of Code) using Go. This was my first acquaintance with Go. I&#8217;d never used the language before or even seen it up close. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,9,768],"tags":[],"class_list":["post-10754","post","type-post","status-publish","format-standard","hentry","category-dailies","category-geeky_things","category-photography-2"],"_links":{"self":[{"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/posts\/10754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/comments?post=10754"}],"version-history":[{"count":3,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/posts\/10754\/revisions"}],"predecessor-version":[{"id":10758,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/posts\/10754\/revisions\/10758"}],"wp:attachment":[{"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/media?parent=10754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/categories?post=10754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/tags?post=10754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}