News for hackers. Stuff that matters.
Re:Revisiting the principles of data-oriented programming by jayd16 on Monday June 27, 2022 @02:34PM (#31898723)
C# has type safe anonymous types.

    //Anonymous type with integer property
    var foo = new {Number = 1};
    //Compile time error if you try to assign a the integer property to a string
    string s = foo.Number;
An object is just a fancy map, after all... These are also immutable by default, which probably makes them even more relevant to this DOA discussion.
Re:Revisiting the principles of data-oriented programming by weavejester on Friday July 01, 2022 @09:33AM (#31946115)
Maps are open, while objects are closed.