diff options
author | michele.simionato <devnull@localhost> | 2009-11-23 14:52:26 +0000 |
---|---|---|
committer | michele.simionato <devnull@localhost> | 2009-11-23 14:52:26 +0000 |
commit | 81ed592389db82c74d4c8ae684e934582ad2821c (patch) | |
tree | 45fdc372cd6e202bfee2a3024281cc1405a0aeb6 /artima | |
parent | d4bed31ecd2fbed6b00a36a5e330a79fbf9607fa (diff) | |
download | micheles-81ed592389db82c74d4c8ae684e934582ad2821c.tar.gz |
Added article about interfaces and Go
Diffstat (limited to 'artima')
-rw-r--r-- | artima/go/interfaces-vs-inheritance.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/artima/go/interfaces-vs-inheritance.txt b/artima/go/interfaces-vs-inheritance.txt index f28096b..1474c78 100644 --- a/artima/go/interfaces-vs-inheritance.txt +++ b/artima/go/interfaces-vs-inheritance.txt @@ -7,7 +7,7 @@ Mathematics you have objects (consider for instance the elements of a important entities are the relations about the objects, their properties. When I write ``a + b`` in a mathematical expression I am not really interested in the objects: ``a`` and ``b`` may be numbers, -or matrices, or functions, or oven operators in a Hilbert space if I +or matrices, or functions, or even operators in a Hilbert space if I am doing Quantum Mechanics: in any case, the important thing is the addition operation. The ``+`` means that I am performing a commutative operation and therefore that the objects I am using are part of a @@ -93,7 +93,7 @@ Now finally there is Go_. Go is a new language which was released this week by Google; it was designed by old-timers of the caliber of Rob Pike and Ken Thompson, so I decided to take it very seriously and to have a look at it. It turns out that Go `lacks inheritance`_ and it -has exactly `the kind of interfaces I had in mind`_ for all this +has something similar to `the kind of interfaces I had in mind`_ for all this time. I do not need to write my paper about interfaces vs inheritance anymore: just look at `Go documentation`_! I am still playing with Go at the moment. As every language it has a few good things and a few |