News for hackers. Stuff that matters.
Re:Show HN: My C compiler compiled itself by munch117 on Wednesday December 04, 2024 @12:28PM (#42319715)
But adding the cast doesn't make type checking stricter, quite the opposite - it destroys any hope of the compiler checking the assignment.

C++ shot itself in the foot by removing automatic conversion from void* to T*, because it forces programmers to add casts that weaken type safety.

There are no comments on this comment yet.