On Monday, January 12, 2026 1:59:29 PM Central European Standard Time Albert Astals Cid wrote: > And it's not like they are saving us much typing > arrayGetLength() > turns into > getArray()->getLength() > > > What do you think?
I've been doing a bit of pointer cleanups surrounding array and dict, and I noticed that it is not a uncommon pattern to do Object o(new Array(xref)); o.arrayAdd(..) Where it would probably be just as clean to do Array* arr = new Array(xref); arr->add(..); Object o(arr); (or with array/dict in a unique_ptr as I'm in the middle of) /Sune -- I didn’t stop pretending when I became an adult, it’s just that when I was a kid I was pretending that I fit into the rules and structures of this world. And now that I’m an adult, I pretend that those rules and structures exist. - zefrank
