>
> We can classify _without_ the `class` keyword.  And as I mentioned,
> languages which are considered as class-based (Python, CoffeeScript), in
> real, are the same delegation/prototype-based as JavaScript and the `class`
> keyword is just a _syntactic sugar_.


All this is true in a world in which all properties have the same level of
accessibility, and consequently, the coupling between instances and
pseudo-methods may be weak, and simply run at the syntactic level.

But when we leave that simple and symmetric world  and enter in a new world
where we want to classify the properties of an object according to its
visibility,  the coupling can't  be weak and appears necessarily  the
concept of authentic method . The coupling becomes strong and must be
described with more than a little "syntactic sugar cube".

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to