{"id":460,"date":"2009-10-19T12:23:26","date_gmt":"2009-10-19T17:23:26","guid":{"rendered":"http:\/\/vgable.com\/blog\/?p=460"},"modified":"2009-10-19T12:23:53","modified_gmt":"2009-10-19T17:23:53","slug":"sizeof-style","status":"publish","type":"post","link":"https:\/\/vgable.com\/blog\/2009\/10\/19\/sizeof-style\/","title":{"rendered":"sizeof() Style"},"content":{"rendered":"<p>Never say <code>sizeof(sometype)<\/code> when you can say <code>sizeof(a_variable)<\/code>.  The latter works even if the type of <code>a_variable<\/code> changes, and it is much more obvious what the size is supposed to represent.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Never say sizeof(sometype) when you can say sizeof(a_variable). The latter works even if the type of a_variable changes, and it is much more obvious what the size is supposed to represent.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,7,5,4,10],"tags":[613,242,507],"class_list":["post-460","post","type-post","status-publish","format-standard","hentry","category-bug-bite","category-c","category-objective-c","category-programming","category-tips","tag-c","tag-programming-style","tag-sizeof"],"_links":{"self":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts\/460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/comments?post=460"}],"version-history":[{"count":3,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts\/460\/revisions"}],"predecessor-version":[{"id":463,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts\/460\/revisions\/463"}],"wp:attachment":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/media?parent=460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/categories?post=460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/tags?post=460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}