Object Oriented Torah

Several years ago one of my livejournal friends reb_moyshe wrote a post about how object-oriented programming reminds him structure of Torah.
Since I started developing in .Net and Java, I think, I got the point. And I think, I got also the differences between programming and Torah object-orientation.

Let’s try some basic example.
Noahide laws have 7 basic rules.
Let’s create a class for it:

Later this law was extended and applied only on Jews.

General difference between Torah and programming is that nobody can override or deprecate any part of the code.
Torah code can be only extended following certain rules.