polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject svn commit: r1747714 [8/8] - /zest/site/content/java/develop/
Date Fri, 10 Jun 2016 14:16:05 GMT
Modified: zest/site/content/java/develop/what-s-an-object-anyway.html
URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/what-s-an-object-anyway.html?rev=1747714&r1=1747713&r2=1747714&view=diff
==============================================================================
--- zest/site/content/java/develop/what-s-an-object-anyway.html (original)
+++ zest/site/content/java/develop/what-s-an-object-anyway.html Fri Jun 10 14:16:04 2016
@@ -66,7 +66,7 @@
   })();
  </script>
 
-  </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a
href="index.html"><img src="images/logo-standard.png" /></a></div><div
xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml"
class="toc"><dl><dt><span class="section"><a href="index.html#home">Zest™</a></span></dt><dt><span
class="section"><span xmlns="" href="intro.html">Introduction</span></span></dt><dt><span
class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span
class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span
class="section"><a href="samples.html">Samples</a></span></dt><dt><span
class="section"><a href="core.html">Core</a></span></dt><dt><span
class="section"><a href="libraries.html">Libraries</a></span></dt><dt><span
class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span
class="section"><a href="tools.html">Tools</a></span></dt><dt><span
class="section"><a href="glossary.htm
 l">Glossary </a></span></dt></dl></div></div><div
xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml"
class="toc"><dl><dt><span class="section"><a href="intro.html#highlights">Highlights</a></span></dt><dt><span
class="section"><a href="introduction-background.html">Background</a></span></dt><dt><span
class="section"><a href="what-is-cop.html">What is COP?</a></span></dt><dt><span
class="section"><span xmlns="" href="what-s-an-object-anyway.html">What’s an
Object anyway?</span></span></dt><dt><span class="section"><a
href="state-modeling.html">Zest™ and state modeling</a></span></dt><dt><span
class="section"><a href="related.html">Related publications &amp; projects</a></span></dt></dl></div></div><div
class="section" title="What’s an Object anyway?"><div class="titlepage"><div><div><h3
class="title"><a id="what-s-an-object-anyway"></a>What’s an Object anyway?</h3></div></div></div><p>In
OOP the main idea is 
 that we should model our reality by creating Objects. Objects have state, and they have methods.
+  </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a
href="index.html"><img src="images/logo-standard.png" /></a></div><div
xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml"
class="toc"><dl><dt><span class="section"><a href="index.html#home">Zest™</a></span></dt><dt><span
class="section"><span xmlns="" href="intro.html">Introduction</span></span></dt><dt><span
class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span
class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span
class="section"><a href="samples.html">Samples</a></span></dt><dt><span
class="section"><a href="core.html">Core</a></span></dt><dt><span
class="section"><a href="libraries.html">Libraries</a></span></dt><dt><span
class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span
class="section"><a href="tools.html">Tools</a></span></dt><dt><span
class="section"><a href="glossary.htm
 l">Glossary </a></span></dt></dl></div></div><div
xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml"
class="toc"><dl><dt><span class="section"><a href="intro.html#highlights">Highlights</a></span></dt><dt><span
class="section"><a href="quick-start.html">Quick Start</a></span></dt><dt><span
class="section"><a href="introduction-background.html">Background</a></span></dt><dt><span
class="section"><a href="what-is-cop.html">What is COP?</a></span></dt><dt><span
class="section"><span xmlns="" href="what-s-an-object-anyway.html">What’s an
Object anyway?</span></span></dt><dt><span class="section"><a
href="state-modeling.html">Zest™ and state modeling</a></span></dt><dt><span
class="section"><a href="related.html">Related publications &amp; projects</a></span></dt></dl></div></div><div
class="section" title="What’s an Object anyway?"><div class="titlepage"><div><div><h3
class="title"><a id="what-s-an-object-anyway"></a
 >What’s an Object anyway?</h3></div></div></div><p>In
OOP the main idea is that we should model our reality by creating Objects. Objects have state,
and they have methods.
 Methods in an object are used to operate on the internal state and understands the domain
that is being modeled.</p><p>By contrast, in procedural programming the focus
is on algorithms, which can use several data structures to perform some
 task. The focus is on what is going on, rather than the "objects" involved.</p><p>With
OOP it becomes more difficult to "read" algorithms, as they are spread out in many objects
that interact. With
 procedural programming it becomes difficult to encapsulate and reuse functionality. Both
represent extremes, neither of



Mime
View raw message