News for hackers. Stuff that matters.
Re:An intro to Zig's integer casting for C programmers by nicoburns on Tuesday May 11, 2021 @06:25PM (#27124371)
Writing fewer tests is somewhat justified when you can encode invariants in the type system. It depends on the level of reliability you require of course. But my Rust code without tests has been comparably reliable to my code in other lanaguages eith tests.
Re:An intro to Zig's integer casting for C programmers by dnautics on Tuesday May 11, 2021 @07:50PM (#27125051)
No tests? How do you refactor while ensuring your business logic invariants?