So I was curious and was talking to ChatgPt about OOP vs procedural coding and advanced records came into the conversation. I'm okay with using OOP and pointers in a GUI and "pixelating" tools, but for games I prefer procedural as I don't need un-freed pointers getting away from me. Advanced records look really interesting as I can encapsulate data without too much trouble.
One thing that chatgpt said I'd like to verify. If you have a record with a method in it, having an array of the records doesn't cause multiple duplicate methods in the executable. In other words, I'm not going to blow up the size of the program with this. Is this true?