2 ms·
Before records, the compiler did not generate code required to properly use classes (or even structs) as value types. There's a reason everyone is so excited ab
by smt88 6y ago
Before records, the compiler did not generate code required to properly use classes (or even structs) as value types. There's a reason everyone is so excited about records.
I have apps with thousands of lines of implementing comparison/equality interfaces, overloading operators, etc. for my data objects. You can definitely write it all in Notepad, but it would be a massive waste of time.