{"id":17776,"date":"2017-04-18T11:52:41","date_gmt":"2017-04-18T15:52:41","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=17776"},"modified":"2017-04-18T11:52:41","modified_gmt":"2017-04-18T15:52:41","slug":"syntactic-diabetes","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2017\/04\/18\/syntactic-diabetes\/","title":{"rendered":"Syntactic Diabetes"},"content":{"rendered":"<p><a href=\"https:\/\/blog.definiteloops.com\/syntactic-diabetes-bbf54b3b4487\">Vincent Esche<\/a>:<\/p>\n<blockquote cite=\"https:\/\/blog.definiteloops.com\/syntactic-diabetes-bbf54b3b4487\"><p>Swift makes use of this so-called <a href=\"https:\/\/en.wikipedia.org\/wiki\/Syntactic_sugar\">syntactic sugar<\/a> to make working with it more convenient and to allow for <a href=\"https:\/\/en.wikipedia.org\/wiki\/Progressive_disclosure\">progressive disclosure<\/a>[&#8230;]<\/p><p>[&#8230;]<\/p><p>While syntactic sugar aims to make it easier to write good code, <a href=\"https:\/\/en.wikipedia.org\/wiki\/Syntactic_sugar#Syntactic_salt\">syntactic salt<\/a> aims to make it harder to write bad code.<\/p><p>[&#8230;]<\/p><p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Syntactic_sugar#Syntactic_saccharin\">Syntactic saccharin<\/a> refers to syntactic sugar that, while having good intentions, fails to do its thing, possibly making things even worse than without it.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Vincent Esche: Swift makes use of this so-called syntactic sugar to make working with it more convenient and to allow for progressive disclosure[&#8230;][&#8230;]While syntactic sugar aims to make it easier to write good code, syntactic salt aims to make it harder to write bad code.[&#8230;]Syntactic saccharin refers to syntactic sugar that, while having good intentions, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[46,71,901],"class_list":["post-17776","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-languagedesign","tag-programming","tag-swift-programming-language"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=17776"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17776\/revisions"}],"predecessor-version":[{"id":17777,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17776\/revisions\/17777"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=17776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=17776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=17776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}