Structure field Access
The need for field access
Defining data structures is important for writing efficient and maintainable software. Without the ability to access and use the data stored structures become a redundant feature. In SMLL data structure fields can be extracted from instances either using Object Destructuring or using the ::
operator.
This allows the users to write concise code that that is re-usable as structs can be composed to form even more complex data structures.
Last updated