Re: Assertions in production code on Reddit

2018-08-31 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Aug 31, 2018 at 02:02:39PM -0700, Walter Bright via Digitalmars-d-announce wrote: > On 8/31/2018 1:19 PM, Nick Sabalausky (Abscissa) wrote: > > (IF the programmer in question even has the expertise to implement > > such a system correctly anyway - and most don't). > > The closer you can

Re: Assertions in production code on Reddit

2018-08-31 Thread Walter Bright via Digitalmars-d-announce
On 8/31/2018 1:19 PM, Nick Sabalausky (Abscissa) wrote: (IF the programmer in question even has the expertise to implement such a system correctly anyway - and most don't). The closer you can get to the ideal, the better. It's not all or nothing. I'll have done my job if people would just

Re: Assertions in production code on Reddit

2018-08-31 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 08/30/2018 05:31 PM, Walter Bright wrote: https://www.reddit.com/r/programming/comments/9bl72d/assertions_in_production_code/ > >High reliability is not achieved by making perfect designs, it is >achieved by making designs that are tolerant of failure. Runtime >checking is essential to

Assertions in production code on Reddit

2018-08-30 Thread Walter Bright via Digitalmars-d-announce
https://www.reddit.com/r/programming/comments/9bl72d/assertions_in_production_code/