Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does Visula have classes or prototypes?

classes prototypes visula
0
Posted

Does Visula have classes or prototypes?

0

(Review question from VL/HCC 2006) Visula has classes. However, it does not have types – there is a difference. In dynamic typing, the “class” of an object is almost completely irrelevant. You call a method on an object, and it either works or it doesn’t. A prototype implies a “cloning” mechanism. This is not how Visula works. To construct an object, you call the “class” as a function, which executes the expressions in the class to perform initialization. Initialization is performed independently for each instantiation. This notation is shared with function calling, however it is nothing to do with prototyping.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123