Le 25/08/2014 23:26, Bill Hart a écrit :
You want to be able to inherit fields, but that highlights the difference
between Julia and the traditional OOP perspective. In the traditional
perspective the focus is on the data. In the Julia paradigm, the focus is
on the behaviour, i.e. the functions.

In the Eiffel language, when you define a class foo with a "member variable" bar, the api just says that bar has such-type -- only the class writer knows if it's a constant or a function returning the value after a computation.

Is that the same principle?

Snark on #sagemath

PS: it's off topic on that list, but I'm still glad following the discussion.

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to