4 ms·
Null terminated strings were an intentional compromise, known to be inferior for execution but superior for memory Null being an "allowed" value for pointers i
by Guvante 16d ago
Null terminated strings were an intentional compromise, known to be inferior for execution but superior for memory
Null being an "allowed" value for pointers is the mistake e.g. what became nullptr. "Allowed" because garbage values are garbage.