{"id":722,"date":"2010-11-19T02:09:15","date_gmt":"2010-11-19T01:09:15","guid":{"rendered":"http:\/\/rephlex.de\/blog\/?p=722"},"modified":"2010-11-19T02:09:15","modified_gmt":"2010-11-19T01:09:15","slug":"zero-one-infinity-rule-zoi","status":"publish","type":"post","link":"https:\/\/rephlex.de\/blog\/2010\/11\/19\/zero-one-infinity-rule-zoi\/","title":{"rendered":"Zero-One-Infinity Rule (ZOI)"},"content":{"rendered":"<p>Bin gerade dr\u00fcbergestolpert:<\/p>\n<blockquote>\n<dd><a id=\"Zero-One-Infinity-Rule\"> \u201cAllow none of <\/a><a href=\"http:\/\/www.catb.org\/%7Eesr\/jargon\/html\/F\/foo.html\"><em>foo<\/em><\/a>, one of    <a href=\"http:\/\/www.catb.org\/%7Eesr\/jargon\/html\/F\/foo.html\"><em>foo<\/em><\/a>, or any number of    <a href=\"http:\/\/www.catb.org\/%7Eesr\/jargon\/html\/F\/foo.html\"><em>foo<\/em><\/a>.\u201d A rule of thumb for software design,    which instructs one to not place <a href=\"http:\/\/www.catb.org\/%7Eesr\/jargon\/html\/R\/random.html\"><em>random<\/em><\/a> limits on    the number of instances of a given entity (such as: windows in a window    system, letters in an OS&#8217;s filenames, etc.).  Specifically, one should    either disallow the entity entirely, allow exactly one instance (an    \u201cexception\u201d), or allow as many as the user wants \u2014    address space and memory permitting.<\/p>\n<p>The logic behind this rule is that there are often situations where    it makes clear sense to allow one of something instead of none.  However,    if one decides to go further and allow N (for N &gt; 1), then why not N+1?    And if N+1, then why not N+2, and so on?  Once above 1, there&#8217;s no excuse    not to allow any N; hence, <a href=\"http:\/\/www.catb.org\/%7Eesr\/jargon\/html\/I\/infinity.html\"><em>infinity<\/em><\/a>.<\/p>\n<p>Many hackers recall in this connection Isaac Asimov&#8217;s SF novel    <em>The Gods Themselves<\/em> in which a character announces    that the number 2 is impossible &#8211; if you&#8217;re going to believe in more than    one universe, you might as well believe in an infinite number of    them.<\/p>\n<\/dd>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Bin gerade dr\u00fcbergestolpert: \u201cAllow none of foo, one of foo, or any number of foo.\u201d A rule of thumb for software design, which instructs one to not place random limits on the number of instances of a given entity (such as: windows in a window system, letters in an OS&#8217;s filenames, etc.). Specifically, one should [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[4],"tags":[],"class_list":["post-722","post","type-post","status-publish","format-standard","hentry","category-techtalk"],"_links":{"self":[{"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/posts\/722","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/comments?post=722"}],"version-history":[{"count":1,"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/posts\/722\/revisions"}],"predecessor-version":[{"id":723,"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/posts\/722\/revisions\/723"}],"wp:attachment":[{"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/media?parent=722"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/categories?post=722"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rephlex.de\/blog\/wp-json\/wp\/v2\/tags?post=722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}