zettelkasten
Types And Pointers
Last updated: 1/9/2025
All a type is in computer science is just a label that tells the compiler what kinds of operations, methods, and values that a specific amount of memory can do.
An object is just an abstraction of a memory cell.
A value is a bit or collection of bits that is inside of that memory cell.
The base type of a pointer is SUPER important because pointers are just a variable that stores the address of an object, and then the type of the pointer tells the compiler how to interpret that bit of memory.
See Also
- [[computer-science]]