summary refs log tree commit diff stats
path: root/doc/tut2.rst
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-03-27 14:28:40 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-03-27 15:08:32 +0100
commit4d0f05a98a91e83c05ba1a328ecaff02911d3842 (patch)
treedfc11fcd0baba6e36f2878bffb1b8a5be400563c /doc/tut2.rst
parentd74179dde32d1bdd4004aaadcc19c0e7bd4cb845 (diff)
downloadNim-4d0f05a98a91e83c05ba1a328ecaff02911d3842.tar.gz
manual.rst: move experimental features to manual_experimental
Diffstat (limited to 'doc/tut2.rst')
-rw-r--r--doc/tut2.rst15
1 files changed, 0 insertions, 15 deletions
diff --git a/doc/tut2.rst b/doc/tut2.rst
index 5856b9fde..fda953eda 100644
--- a/doc/tut2.rst
+++ b/doc/tut2.rst
@@ -169,21 +169,6 @@ no conversion between different object types is needed. Yet, access to invalid
 object fields raises an exception.
 
 
-Methods
--------
-In ordinary object oriented languages, procedures (also called *methods*) are
-bound to a class. This has disadvantages:
-
-* Adding a method to a class the programmer has no control over is
-  impossible or needs ugly workarounds.
-* Often it is unclear where the method should belong to: is
-  ``join`` a string method or an array method?
-
-Nim avoids these problems by not assigning methods to a class. All methods
-in Nim are multi-methods. As we will see later, multi-methods are
-distinguished from procs only for dynamic binding purposes.
-
-
 Method call syntax
 ------------------