News for hackers. Stuff that matters.
Re:Names are not type safety by p1necone on Sunday November 01, 2020 @10:19PM (#24964551)
There's a lot to be gained by isolating the place where the validation needs to be done, and the source of the bugs could be to one place though. Would you rather have one bit of code that checks 1<=X<=5, or 100 call sites all doing the same thing slightly differently?
Re:Names are not type safety by skybrian on Monday November 02, 2020 @10:54AM (#24969437)
There ways to do that without type system level hacking.