The standard feature of Records is a convenient way to represent constant classes. Though the use of this has not reached the full potential, this feature is quite a useful one even in standalone cases. This talk will discuss the feature of Records from the concept through implementation with actual code examples. Records also bring along with it the concept of “Compact Constructor”, “Canonical Constructor”, “Components”, dos and don’ts in initializations and so on and so forth. Talk will discuss these in detail so that it will render the programmer more effective while using this feature.
Records do get generated into classes only in the byte code albeit with some special attribute. IT also uses the bootstrap mechanism which is now becoming de-facto in the recent features. Talk will discuss these briefly as well. Additionally, records are becoming an integrated part of the patterns which will also be discussed taking into account how record patterns would emerge with records.
Fair amount of Java programming is the only pre-requisite for the attendees. No familiarity with byte code is assumed.
Attendees would be able to
- understand records in details - what, how and where to use them.
- Learn about the new terms and concepts along-with records – compact constructor, canonical constructor, components, etc.
- Understand how records fit into the big picture.