Structure field Access
The need for field access
Last updated
The need for field access
Last updated
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 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.