Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Not only does it make </p> <ul> <li>programming easier / more maintainable in the current situation for other people (and yourself)</li> <li>It is already allowing easier database CRUD (Create, Update, Delete) operations.</li> </ul> <p>You can find more info about it looking up: - Java : Hibernate - Dot Net : Entity Framework</p> <p>See even how LINQ (Visual Studio) can make your programming life MUCH easier.</p> <ul> <li>Also, you can start using design patterns for solving real life problems (design patterns are all about OO)</li> </ul> <p>Perhaps it is even fun to demonstrate with a little demo:</p> <ul> <li>Let's say you need to store employees, accounts, members, books in a text file in a similar way.</li> </ul> <p>.PS. I tried writing it in a PSEUDO way :)</p> <h1>the OO way</h1> <p>Code you call: io.file.save(objectsCollection.ourFunctionForSaving())</p> <p>class objectsCollection</p> <p>function ourFunctionForSaving() As String</p> <p>String _Objects</p> <pre><code> for each _Object in objectsCollection Objects &amp;= _Object &amp; "-" end for </code></pre> <p>return _Objects end method</p> <h1>NON-OO Way</h1> <p>I don't think i'll write down non-oo code. But think of it :)</p> <h1>NOW LET'S SAY</h1> <p>In the OO way. The above class is the parent class of all methods for saving the books, employees, members, accounts, ... What happens if we want to change the way of saving to a textfile? For example, to make it compactible with a current standard (.CVS).</p> <p>And let's say we would like to add a load function, how much code do you need to write? In the OO- way you only need the add a New Sub method which can split all the data into parameters (This happens once).</p> <p>Let your collegue think about that :)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload