notes on software

What is meant by the shape of data? structs, fields, members, classes, objects. OOP is such a rabbit hole. Must See: https://dev.to/tiffany/what-is-meant-by-a-shape-in-programming-263c

OK

In OOP, I suppose the shape of data is its structure, much like you learn in your first CS class.

A class is a blueprint on how to build, i.e. structure, a house or car, and an object is that thing you've built which is a result of that blueprint. methods and/or properties are types of house, for instance; a Row Home is a type of House which we have a class that is the blueprint for all the homes in that neighborhood etc. ^6b8591

See: https://stackoverflow.com/questions/3141957/a-good-object-oriented-analogy

So, a blueprint is some structure of data, some disparate items we need to collect to build our house.

Just thinking this through so the [[#^3d8004]]

Follow-up: https://dev.to/peerreynders/comment/1mhj3

Links to this note


Have anything to add? You can reach out to me by email or You can find more of my stuff on my links page.

Shape of Data