<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Pinkhas Nisanov on Medium]]></title>
        <description><![CDATA[Stories by Pinkhas Nisanov on Medium]]></description>
        <link>https://medium.com/@nisanov?source=rss-e4e10f514d6f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*vgT-Z7LLy7RpmOBw</url>
            <title>Stories by Pinkhas Nisanov on Medium</title>
            <link>https://medium.com/@nisanov?source=rss-e4e10f514d6f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 12:01:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nisanov/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Spread the Medium]]></title>
            <link>https://medium.com/@nisanov/spread-the-medium-de090e18062a?source=rss-e4e10f514d6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/de090e18062a</guid>
            <category><![CDATA[creativity]]></category>
            <category><![CDATA[inventions]]></category>
            <category><![CDATA[innovation]]></category>
            <category><![CDATA[triz]]></category>
            <dc:creator><![CDATA[Pinkhas Nisanov]]></dc:creator>
            <pubDate>Sat, 19 Sep 2026 18:33:14 GMT</pubDate>
            <atom:updated>2026-09-19T18:40:40.747Z</atom:updated>
            <content:encoded><![CDATA[<p><em>The same inventive idea, hiding in very different technologies.</em></p><p>Suppose you need to create an intricate pattern on a silicon wafer. Some regions must change; the neighboring regions must remain untouched.</p><p>The natural question is: how can we put the right material in exactly the right places? Perhaps we need a smaller tool, a more accurate positioning system, or a finer method of deposition.</p><p>But consider a different answer: <strong>start by covering everything.</strong></p><p>In photolithography, the wafer receives a coating of light-sensitive material called photoresist. Patterned light changes the coating’s chemistry in selected regions. Development then turns that chemical difference into a pattern that can be used in subsequent manufacturing steps.</p><p>The coating does not have to be deposited along every contour of the intended pattern. It is already there. The light supplies the selection.</p><p>This is the first clue: we have separated <em>where the material is present</em> from <em>where it changes</em>.</p><p>Now consider a quite different problem.</p><p>We want a therapeutic substance to reach tissue, but we do not want it to produce its effect everywhere it travels. Broad access is useful for transport. Broad action may be precisely what we want to avoid.</p><p>Imagine a carrier that retains its payload during transport and releases it only after receiving an external signal. This is more than a thought experiment: University of Florida researchers have developed magnetic nanoparticle carriers designed to release therapeutic agents in response to an alternating magnetic field.</p><p>That mechanism does not automatically solve access to tissue or precise field localization. But it makes an important separation possible: transporting the substance and releasing it no longer have to be the same operation.</p><p>Again, <strong>presence does not have to mean action</strong>.</p><p>The third example makes the idea even clearer.</p><p>Suppose we want to see the path of a charged particle. We cannot position a detector along its trajectory beforehand, because discovering that trajectory is the purpose of the experiment.</p><p>A cloud chamber takes a different approach. It establishes a sensitive region of cooled vapor. As a charged particle passes through, tiny droplets form along its route, revealing a visible track.</p><p>There is no need to predict the route. The medium is already available throughout the sensitive region.</p><p>In the wafer, we know the pattern and want to create it. In the chamber, we do not know the pattern and want to discover it. Yet the underlying arrangement looks remarkably similar: <strong>prepare the whole domain to respond, and let a local signal determine where the response occurs.</strong></p><h3>The part I nearly overlooked</h3><p>At first, it is tempting to focus on the signal. Light selects one place; a magnetic stimulus controls a release mechanism; a passing particle reveals its own route.</p><p>But the signal alone is not the invention pattern.</p><p>What caught my attention was the entity receiving it: the medium that makes the signal useful.</p><p>It has to possess a rather unusual combination of properties.</p><p>It must be able to spread throughout the relevant domain — or at least become available wherever a response may be needed. A perfectly responsive material is not useful at a location it cannot reach.</p><p>It must also react to the designated signal, converting that encounter into the required change.</p><p>Those two properties initially seemed sufficient. Then a third became impossible to ignore.</p><p><strong>The medium must remain stable when the activating signal is absent.</strong></p><p>Imagine a detector medium producing marks spontaneously. Or a carrier releasing its contents on the way to its destination. The same broad distribution that was supposed to solve the problem would now spread unwanted effects.</p><p>What we need is not simply a sensitive medium. We need a <em>selectively sensitive</em> one: responsive to the intended interaction, but resistant to ordinary conditions and irrelevant disturbances.</p><p>“As stable as possible” therefore means as stable as the task requires while still allowing reliable intended activation. It is an engineering requirement, not a demand for a substance that can never change.</p><p>Whether the signal is weak or strong is secondary. So is the size of the resulting action. Amplification may help a particular implementation, but it is not what joins these examples together.</p><p>Their common structure is <strong>coverage, controlled response, and stability against unintended response</strong>.</p><h3>The contradiction hiding underneath</h3><p>Once I looked at the examples this way, the contradiction became easier to state:</p><blockquote><em>The capability must be available everywhere it may be needed — but it must not act everywhere it is available.</em></blockquote><p>When a design ties presence directly to activity, these requirements pull against each other. Increase coverage, and unwanted action increases too. Restrict the action by restricting distribution, and some possible targets become unreachable.</p><p>The solution is not necessarily to find a better compromise.</p><p>It is to break the connection between presence and activity.</p><p>We distribute something that is <em>ready to act</em>, rather than something that is <em>already acting</em>. The medium solves the availability problem. The signal solves the selection problem.</p><p>That seemed like more than a resemblance between a few technologies. It looked like a reusable instruction for resolving a class of contradictions.</p><p>But was it already one of the familiar TRIZ principles?</p><h3>“Isn’t this just an intermediary?”</h3><p>That was the first obvious candidate.</p><p>The <strong>Intermediary</strong>, or <strong>Mediator</strong>, principle recommends introducing an intermediate object that carries or transfers an action. Our medium often does exactly that.</p><p>But an intermediary need not spread throughout a domain. It need not remain inactive until addressed. It need not distinguish the intended signal from other influences.</p><p>Think of an adapter between two incompatible tools. It mediates their interaction, but it does not create a field of locally available, selectively activatable capability.</p><p>“Introduce an intermediary” identifies a possible role. The pattern we are examining specifies a particular kind of intermediary — and a particular arrangement in which to use it.</p><p>Perhaps <strong>Local Quality</strong> is a better match?</p><p>That principle calls for differentiated properties, functions, or operating conditions. It also includes making an external influence nonuniform, so patterned illumination genuinely overlaps with it.</p><p>Still, consider a tool with an insulated handle and a conductive working end. Different parts perform different jobs, but nothing is waiting throughout a domain to be selectively activated.</p><p>Our pattern offers a particular route to local differentiation: make the capability broadly available, then let a signal determine its local behavior. The selected locations need not even be known when the medium is distributed.</p><p>Local Quality can describe the differences we obtain. It does not, by itself, specify this method of obtaining them.</p><p>Then there is <strong>Preliminary Action</strong>: do work beforehand, or position objects so they are ready to act without delivery delays.</p><p>This is a substantial overlap. Coating a wafer before exposure certainly involves preparation.</p><p>But putting a spare tool beside a machine is also preliminary action. It says nothing about a medium covering the possible target domain, remaining inactive there, and responding selectively.</p><p>The distinction is not simply <em>early versus late</em>. It is <em>available versus active</em>.</p><p>I could describe the examples as a combination of these principles: add an intermediary, put it in place beforehand, and obtain different behavior in different regions.</p><p>Yet this left me with an important question:</p><p><strong>If I did not already know the solution, would those instructions direct my attention to the medium with the three properties we have identified?</strong></p><p>They might. But naming the complete pattern gives me a much more specific thing to search for.</p><p>There are closer relatives elsewhere in TRIZ, too. Its substance–field standards discuss structured fields and field-responsive particles introduced into the environment. So I would not claim that this idea has no antecedents. The proposal is to recognize the complete arrangement as a separately named principle — not to claim ownership of the physical mechanisms behind it.</p><h3>A name for the pattern</h3><p>I would call it <strong>Spread the Medium</strong>.</p><p>Not “spread the active substance everywhere.” That would recreate the problem.</p><p>Instead:</p><blockquote><strong><em>Spread a selectively responsive medium throughout the domain where an effect may be required. Keep it functionally inactive under ordinary conditions, and let the designated signal produce the required response only where and when needed.</em></strong></blockquote><p>Here, “everywhere” means everywhere relevant to the task: a surface, a sensitive volume, or an accessible set of possible targets. The distribution can be established in advance or maintained continuously.</p><p>The domain does not even have to be physical space.</p><p>Imagine software functionality already available for every account, but disabled unless a particular authorization condition is satisfied. We do not deliver the function anew each time an account becomes eligible. We establish the capability broadly and control its realization selectively.</p><p>In that design, the account set is the domain, the deployed functionality and its activation logic play the role of the medium, and authorization supplies the selecting condition.</p><p>The materials have disappeared. The arrangement remains.</p><h3>Why give it its own name?</h3><p>For me, the strongest reason is not that it lets us place old inventions into another category.</p><p>It is that it changes the question we ask about a new problem.</p><p>Instead of asking only:</p><p><em>How can I take the active agent precisely to the target?</em></p><p>we can ask:</p><p><em>What medium could I make available throughout the possible target domain — and what signal could make it act only where needed?</em></p><p>That question immediately suggests what we must investigate: a distribution mechanism, a useful signal-sensitive response, and enough stability to prevent unwanted activation.</p><p>It does not guarantee a solution. It gives the search a direction.</p><p>That is why I think <strong>Spread the Medium</strong> deserves consideration as a distinct contradiction-resolution principle. Its value is the complete move it asks us to make: separate broad availability from selective action by finding the right responsive medium.</p><p>We started with the problem of putting something in exactly the right places.</p><p>The unexpected answer was to put a different kind of thing throughout the domain — and postpone the decision about where it should act.</p><p><strong>Distribute the capability. Let the signal select the action.</strong></p><h3>A small family of “Spread the Medium” solutions</h3><p>Once the principle has a name, inventions that initially look unrelated begin to form a family. They are not mechanically identical, and that is important. In some, an external controller sends the activating signal. In others, the event itself supplies the signal. What repeats is the separation between broad availability and selective realization.</p><p><strong>Photolithography — write a pattern that is already known.</strong> The photoresist covers the wafer, remains usable before exposure, and changes only where the light pattern reaches it. The signal carries the geometry; the medium turns that geometry into a material difference.</p><p><strong>A triggered therapeutic carrier — transport broadly, act conditionally.</strong> A carrier can travel through an accessible biological domain while retaining its payload. A selected field or local condition then triggers release. The same entity that solves the transport problem does not have to produce the therapeutic effect everywhere along its route.</p><p><strong>A cloud chamber — reveal a pattern that is not known in advance.</strong> The sensitive vapor fills the chamber before the particle arrives. The particle creates ionization along its own unknown trajectory, and the medium responds there. Here the signal is not a command; it is the phenomenon being detected.</p><p><strong>A dormant computer virus — a harmful use of the same principle.</strong> A malicious program may spread across many computers while its destructive payload remains inactive. “Inactive” here applies to the payload, not necessarily to every part of the program: some activity is still required for propagation. The payload is realized only when a narrowly defined condition or external signal appears. To fit the principle strictly, it must remain stable against accidental activation and respond only to its designated trigger. The digital network is the domain, copies of the dormant payload form the distributed medium, and the trigger selects when — and potentially where — the harmful action occurs. This example also shows that the principle itself is ethically neutral; its consequences depend on the purpose for which it is used.</p><p><strong>Synthetic-diamond growth — spread the feedstock, localize its conversion.</strong> In chemical-vapor-deposition growth, a carbon-containing gas is supplied through the chamber and activated by plasma, while incorporation into diamond occurs at a suitable seed or growth surface. This is a neighboring variant of the principle. The distributed entity is a precursor rather than the finished function, and localization is provided partly by the receptive surface, not only by a projected signal. The deeper move is unchanged: make the resource broadly available, but convert it into the required structure only under selected local conditions.</p><p><strong>Self-healing composites — let damage provide its own address.</strong> In a classic design, microscopic capsules containing a healing agent are distributed throughout a polymer composite. When a crack reaches them, it ruptures nearby capsules and releases material into the damaged region, where a repair reaction can occur. The designer does not need to predict where the crack will form. Damage itself supplies both the target and the activating signal.</p><p><strong>Vat photopolymerization — a three-dimensional extension.</strong> A vat contains liquid photopolymer throughout the available build region, while controlled light cures only selected cross-sections. Repetition layer by layer turns distributed liquid possibility into a solid three-dimensional object. This is close to photolithography, but the result is not merely a surface pattern; the selective activation constructs volume.</p><p>These examples expose several branches of the same mechanism. Activation may be commanded or event-generated. The spread entity may be the final responsive material, a carrier, or an uncommitted precursor. The domain may be a surface, a volume, a biological transport space, a digital network, or even an abstract set of software contexts.</p><p>What remains invariant is the architecture:</p><blockquote><em>Make the capability or resource available throughout the possible target domain; keep it inactive or uncommitted under ordinary conditions; and let a designated local interaction decide where it becomes real.</em></blockquote><p>That is the reason to treat <strong>Spread the Medium</strong> as more than a collection of examples. It is a repeatable way to resolve the contradiction between being available everywhere and acting only somewhere.</p><p><strong>Spread the possibility. Select the realization.</strong></p><p><a href="https://nisanovblog.blogspot.com/2023/11/innovation-vs-creativity-or-tactics-vs.html">https://nisanovblog.blogspot.com/2023/11/innovation-vs-creativity-or-tactics-vs.html</a><br><a href="https://nisanovblog.blogspot.com/2020/06/big-software-contradiction.html">https://nisanovblog.blogspot.com/2020/06/big-software-contradiction.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de090e18062a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Innovation vs. Creativity (or Tactics vs. Strategy)]]></title>
            <link>https://medium.com/@nisanov/innovation-vs-creativity-or-tactics-vs-strategy-3fddb5e54c23?source=rss-e4e10f514d6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/3fddb5e54c23</guid>
            <category><![CDATA[tactics]]></category>
            <category><![CDATA[innovation]]></category>
            <category><![CDATA[creativity]]></category>
            <category><![CDATA[strategy]]></category>
            <category><![CDATA[corporations]]></category>
            <dc:creator><![CDATA[Pinkhas Nisanov]]></dc:creator>
            <pubDate>Sun, 26 Nov 2023 21:12:09 GMT</pubDate>
            <atom:updated>2023-11-28T13:56:42.589Z</atom:updated>
            <content:encoded><![CDATA[<h4>Nokia</h4><p>Nokia. My first cellular phone was Nokia. Those days Nokia created best cellular phones. Nokia, once a dominant force in the mobile phone industry, has experienced a dramatic decline. From a market capitalization of $550 billion in 2000, it plummeted to just $18 billion. This decline prompts a critical question: Why did Nokia fail while companies like Apple soared to unprecedented heights?</p><p>While Nokia excelled at producing high-quality cellular phones, it missed the boat on the smartphone revolution. Smart phones slowly gain more and more customers, and, of course, who bought smart phone did not buy cellular phone. Nokia did not lost it’s domain of cellular phones. Nokia just missed this moment when new market of smartphones was created. Those two markets could not coexist. Such situation defined by “<a href="https://nisanovblog.blogspot.com/2023/07/life-death-and-winner-takes-it-all.html">Struggle of Informations</a>” model as “antagonistic informations” where only one information will survive and other will totally disappear.</p><p>The critical question is why Nokia, despite its resources and market dominance, missed the pivotal transition to the smartphone market. It had the potential to lead this new sector but failed to create something new beyond refining its existing products. Nokia is not only company that fail because it’s market became irrelevant. Why big companies, despite a lot of resources they have, do miss big changes?</p><h4>Innovation and Creativity</h4><p>It’s well known that most profitable market is so called emerging market, and company that gain most from such market is company that created this market. Company that created first new kind of product take it’s biggest share. There are so many companies want to be first in market that not yet exists. So many companies invest a lot of resources in innovation and creativity to be first with new product in new market.</p><p>Biggest problem with those investments is that most of managers do not really understand that innovation and creativity are very different processes. Innovation and Creativity happen differently, very differently. They so different that it’s almost impossible to be both innovative and creative.</p><p>First I need to clarify what I mean by innovation and by creativity.</p><p><strong>Innovation</strong> is continues process improving existing product.</p><p><strong>Creativity</strong> is process that create new product that does not exist yet.</p><p>Very important understand that both innovation and creativity create new <strong>Information, </strong>but with different context. For innovation context is well defined, it’s already existing product that should be improved by new information. For creativity context does not exists (mostly). Information for innovation can be relatively easily examined and value this new information brings may be estimated. Information for creativity hardly can be evaluated (that’s why most of managers does not like creativity).</p><p>Context for Innovation has much lower uncertainty than context for Creativity. There is specific term for uncertainty — <strong>Entropy</strong> (informational entropy as it defined by Claude Shannon). More precisely would be to say, context of creativity has much higher entropy than entropy of innovation context.</p><p>I would like to give an example of creativity and innovation to understand better what I mean. Television inventor Philo Taylor Farnsworth got idea how his device should work when he look at potato field. That was a moment of creativity. He got this idea unpredictably. It just happen. Then after he got this idea, he started to think how to improve and implement this idea. This process improving new idea is innovation. That’s the point. Creativity it’s when new idea comes suddenly. Innovation is when new ideas come in context already existing idea.</p><p>Any product is created with creativity point and improved continuously with innovation process.</p><p>Here we can get some important conclusions:</p><p>- Creativity is a moment, innovation is a process.</p><p>- Creativity is unpredictable event that accepted and understood</p><p>- Entropy of Context of product goes with time from very high to very low. Decreasing entropy with time is more formal representation of well known “<a href="https://en.m.wikipedia.org/wiki/Laws_of_technical_systems_evolution">Ideality Law of technical systems</a>”.</p><p>Here it may be very interesting point to compare thermodynamic entropy and informational entropy. In nature decrease of entropy may happen only in open systems — dissipative systems. It may be very interesting to apply studies of dissipative systems (one of central elements of complexity theory) to technical systems evolution.</p><p>As I already said both creativity and innovation create new information. Creating new information is explained by “Dynamic Theory of Information”. It’s not “Information Theory” by Claude Shannon. Shannon’s theory only analyze how information affect uncertainty, but does not explain how information is created.</p><h4>Tactics vs. Strategy</h4><p>Creativity is much more important than Innovation. Everyone understand that, especially managers of big corporations that do not want to become new Nokia. Now we can explain it mathematically. Information is measured by decrease in entropy. Creativity happen when entropy is very very high, which means amount of information created at creativity point is enormously high. In many cases much higher than all information created during innovation process.</p><p>Now is the question, how to do creativity? While innovation process already have some methodologies, most known of them is TRIZ (I hope some days it will become science). We can understand how to do creativity if understand difference between tactics and strategy.</p><p>Tactics is set of actions that should be taken to resolve some problem. Strategy is creating environment in which problem will be resolved somehow, indirectly. Strategy is about creating conditions when self organization happen. Self organization is domain of “Complexity theory”. It’s very long story and not for this blog post.</p><p>Same we can say about Innovation and Creativity. Innovation can be done directly using methodologies like TRIZ. There is no yet well defined methodology for creativity. Complexity theory can be useful for that. While many commercial companies already integrating innovation processes using TRIZ, Creativity is still not managed properly.</p><h4>Corporation vs. Startup</h4><p>Nokia was a company with very high level of innovation, but it’s creativity side almost did not exist. Nokia (as many other big companies) did not develop self organization processes. It is too stiff company that does not allow any fluctuation required for high uncertainty.</p><p>We can say that the bigger company, the less it’s creativity level. Big company cannot handle high uncertainty required for creativity, because high uncertainty means high risk. Big company is very complicated system with so many inter-dependencies, so even small uncertainty can bring to very serious negative results. Modern economics solved this problem with localization of risk out of big companies, in startups. Startup get idea with high entropy and bring this entropy to level that is acceptable for big corporation. Only then big companies acquire startups. Is it possible for big company to be creative? Yes. We can find it how to be creative if we’ll properly define contradiction which we’ll resolve using TRIZ.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3fddb5e54c23" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Globalization]]></title>
            <link>https://medium.com/@nisanov/globalization-53655bf74995?source=rss-e4e10f514d6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/53655bf74995</guid>
            <category><![CDATA[mathematical-modeling]]></category>
            <category><![CDATA[demographics]]></category>
            <dc:creator><![CDATA[Pinkhas Nisanov]]></dc:creator>
            <pubDate>Thu, 23 Nov 2023 17:49:18 GMT</pubDate>
            <atom:updated>2023-11-23T21:32:48.600Z</atom:updated>
            <content:encoded><![CDATA[<p>Funny mathematical representation of globalization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*biV5whJmbZ36yclCUn1PzA.png" /></figure><p>More in my blog post <a href="https://nisanovblog.blogspot.com/2023/11/globalization.html">https://nisanovblog.blogspot.com/2023/11/globalization.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=53655bf74995" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Life”, “Death” and “The Winner Takes It All”]]></title>
            <link>https://medium.com/@nisanov/life-death-and-the-winner-takes-it-all-bc2c39c463?source=rss-e4e10f514d6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc2c39c463</guid>
            <dc:creator><![CDATA[Pinkhas Nisanov]]></dc:creator>
            <pubDate>Sat, 22 Jul 2023 21:48:48 GMT</pubDate>
            <atom:updated>2023-07-22T21:48:48.043Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi,</p><p>I wrote new blog about mathematical model “Struggle of Informations” and what’s the logic behind of this model. This model is one of central elements of “Dynamic Theory of Information”. Unfortunately I cannot post it here because post include mathematical formula (pretty simple) based on JS and it cannot be shown here.</p><p><a href="https://nisanovblog.blogspot.com/2023/07/life-death-and-winner-takes-it-all.html">“Life”, “Death” and “The Winner Takes It All”</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc2c39c463" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Big Software Contradiction]]></title>
            <link>https://medium.com/@nisanov/big-software-contradiction-54a4805523bc?source=rss-e4e10f514d6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/54a4805523bc</guid>
            <category><![CDATA[creativity]]></category>
            <category><![CDATA[innovation]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[triz]]></category>
            <dc:creator><![CDATA[Pinkhas Nisanov]]></dc:creator>
            <pubDate>Wed, 22 Sep 2021 13:27:05 GMT</pubDate>
            <atom:updated>2021-09-22T14:29:25.160Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_dx5w8ek4O6DP59Z.png" /></figure><p>One of the famous books in software industry is “<a href="https://en.wikipedia.org/wiki/The_Pragmatic_Programmer">The Pragmatic Programmer: From Journeyman to Master</a>”. This book contain set of practical advises how to create better software. For every section I read I have thought about how I’ll follow this advise and how it will looks like.</p><p>When I came to “<em>The Evils of Duplication</em>” section which suggest to follow the DRY (don’t repeat yourself) principle (also known as “one point of truth”) I thought in order to implement this principle I need to create some functionality only once and then use it whenever this functionality required. It will obviously help to maintain this functionality more easily, in case a problem will be found with the implementation there will be only one place to fix it.</p><p>The following section in this book was about “<em>Orthogonality</em>” concept. It explained that in many cases fixes in our software code unintendedly change functionality in places we did not want to change. Orthogonality means that changes over some dimension will not lead to changes in other (orthogonal) dimension. In other words we need to try to create software in such a way where implementation of some functionality will be independent from implementation of other functionality in system. When I thought about how I will write my code to make it orthogonal, I found that the best way is to make each part of system self contained, where everything it required is implemented locally. For instance if two different subsystems need a function that calculate square root of number each subsystem will have it’s own function for it. In case I’ll make some change in one of the functions these changes will not be affected on other subsystem.</p><p>When I thought about how I practically follow orthogonality principle I suddenly found that orthogonality suggest me to do exactly opposite of what DRY principle suggest me to do. I tried to find a way how to follow both DRY and Orthogonality principles and found that it’s not so simple. If I’ll make my code DRY it will not be Orthogonal and if I’ll make my code Orthogonal it will not be DRY.</p><p>I familiar with TRIZ for many years and I knew exact word for such situations — “<a href="https://en.wikipedia.org/wiki/TRIZ#Identifying_a_problem:_contradictions"><em>Contradiction</em></a>” (I can recommend my presentation about “<a href="http://www.nisanov.com/presentation/triz/html/slide_1.html">TRIZ and Software</a>” where you can find how “Software Contradictions” looks like). I started to think about this problem, is it really contradiction? Maybe we can combine these two principles without problem? I found that it’s possible to resolve this problem in same way like we resolve contradictions, it does not fully eliminate problem, it just make it less harmful. It’s same like we cannot achieve “Ideal Final Result”, but still try to resolve problem.</p><p>In my opinion all software methodologies (like imperative programming, functional programming, object-oriented programing, …) try to resolve exactly this problem. It’s very interesting that software engineers already tried to resolve problem in a way very close to TRIZ methodology. In object-oriented domain we have some kind of table similar to “Contradiction Matrix”, it called “Design Patterns”. Those two even share some names in title of their elements, for instance there is “Mediator” principle in “Contradiction Matrix” and “Mediator” design pattern.</p><p>This problem is not just another problem in software like many others. It’s actually the “core” of other problems. That’s why I call it “<strong><em>Big</em></strong><em> Software Contradiction</em>”. Many times when you try to solve some software problem you finally find that what prevent you find good solution is exactly that: “<strong>make code reusable and independent</strong>” or in other words “<strong>to reuse and not to reuse</strong>”.</p><p>I’ll try to illustrate it. Every programmer that write code for “long enough” time is familiar with such situation. Lets think in some software firm two programmers from two different teams meet in kitchen for coffee break.</p><p>programmer 1:<em> what your team is working on?</em></p><p>programmer 2: <em>we are trying to implement &lt;some&gt; functionality</em></p><p>programmer 1<em>: Oh, really? We’ve already implemented it a year ago, and build it as reusable library. Don’t waste your time on it. I’ll give you access to this library, just use it.</em></p><p>programmer 2: <em>Great! It will save us a lot of time!</em></p><p>Same two programmers some months later in working space.</p><p>programmer 1: <em>Who changed code in my library? Now all of our tests are failing! Nothing works!</em></p><p>programmer 2: <em>We made some small improvements in this library because of changes in the requirement of our system.</em></p><p>programmer 1: <em>But you cannot change it! It’s wrong change for our system!</em></p><p>programmer 2<em>: But this what we need for our system!</em></p><p>Both programmers understand that it was bad idea to use same library in both systems.</p><p>Every big software project goes into one of the two bad states (many times into both of them):</p><ul><li>in case project reuse a lot of code it became “spaghetti” code and whole project became totally unchangeable</li><li>in case project do not reuse code at all it leads to situation where required changes are spread all over big system and any change (even very small) require a lot of work, and there is danger that some code change will be missed and this part will stay buggy</li></ul><p>From my experience I can say that most of programmers are not aware about this contradiction. While DRY principle is very known, Orthogonality is rarely mentioned by programmers. Most programmers try to write generic well designed abstract code (DRY) and start to decouple (Orthogonality) code and subsystems much later and not from the very beginning.</p><p>I think if programmers will be aware of this contradiction it will make them more creative, they will find better solution for their problem and will better understand harmful effects of their solution.</p><p>I thought a lot about “Big Software Contradiction” and in my opinion there is deeper contradiction (about contradictions levels you can read in <a href="https://the-trizjournal.com/logic-ariz/">Logic of ARIZ</a> by dr. Vladimir Petrov), contradiction that is relevant not only for software systems but also for any technical system. I’ll talk about it in next post.</p><p>Thanks!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54a4805523bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>