3 ms·
Indeed, OOP and FP both allow and encourage attaching invariants to data structures. In my book, that's the most important difference with C, Zig or Go-style l
by Yoric 1y ago
Indeed, OOP and FP both allow and encourage attaching invariants to data structures.
In my book, that's the most important difference with C, Zig or Go-style languages, that consider that data structures are mostly descriptions of memory layout.