{"id":1428,"date":"2007-03-10T08:58:48","date_gmt":"2007-03-10T12:58:48","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/2007\/03\/10\/tuples\/"},"modified":"2007-03-10T08:58:48","modified_gmt":"2007-03-10T12:58:48","slug":"tuples","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2007\/03\/10\/tuples\/","title":{"rendered":"Tuples"},"content":{"rendered":"<p>\r\n<a href=\"http:\/\/gbracha.blogspot.com\/2007\/02\/tuples.html\">Gilad Bracha<\/a> (via <a href=\"http:\/\/lambda-the-ultimate.org\/node\/2111\">Lambda<\/a>):\r\n<\/p>\r\n<blockquote cite=\"http:\/\/gbracha.blogspot.com\/2007\/02\/tuples.html\">\r\n<p>\r\nJava was actually designed to have tuples from the start, but they never quite got in. At one point, I tried to add a tuple-like construct as part of JSR-65. We wanted to extend array initializers to full blown expressions. Eventually, that effort got quashed; I didn&rsquo;t really resist, since the extension was painful, as such things always are in Java. We should have just done straight tuples as a separate construct&mdash;but at the time, that was frowned upon too.\r\n<\/p>\r\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Gilad Bracha (via Lambda): Java was actually designed to have tuples from the start, but they never quite got in. At one point, I tried to add a tuple-like construct as part of JSR-65. We wanted to extend array initializers to full blown expressions. Eventually, that effort got quashed; I didn&rsquo;t really resist, since the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","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":[],"class_list":["post-1428","post","type-post","status-publish","format-standard","hentry","category-programming-category"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/1428","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=1428"}],"version-history":[{"count":0,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/1428\/revisions"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=1428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=1428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=1428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}