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.

Is SLX object-oriented?

Object-Oriented slx
0
Posted

Is SLX object-oriented?

0

SLX is object based, but not object-oriented. SLX differs from object oriented systems in two ways. First, it uses composition, rather than inheritance, to create new objects out of old ones. In SLX, one builds larger objects as aggregations of smaller ones; i.e., the approach is inherently bottom-up. With inheritance, one builds general objects first, and specific variations of these objects second; i.e., the approach is inherently top-down. Second, SLX does not include procedural polymorphism, which is another characteristic of the object-based approach. Some of the functionality of procedural polymorphism is provided by the power of SLX’s macro and statement definition facility. One can, for example, develop statements which accommodate a wide variety of operand types and combinations, mapping each into appropriate lower-level constructs. Back to top.

Related Questions

What is your question?

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