ChessUSA.com TalkChess.com
Hosted by Your Move Chess & Games
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

assert
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
Henk van den Belt



Joined: 27 May 2013
Posts: 4794

PostPost subject: Re: assert    Posted: Mon Nov 13, 2017 10:26 am Reply to topic Reply with quote

What I remember is that adding complete pre- post conditions and invariants makes the program more complex than it's original. And the more complicated the more errors.

Best is to write pure functions but that is not possible.

[throwing exceptions is similar to using goto statements ]
Back to top
View user's profile Send private message
Display posts from previous:   
Subject Author Date/Time
assert Folkert van Heusden Mon Nov 13, 2017 9:09 am
      Re: assert Marco Belli Mon Nov 13, 2017 9:47 am
      Re: assert Lucas Braesch Mon Nov 13, 2017 9:49 am
            Re: assert Henk van den Belt Mon Nov 13, 2017 10:44 am
            Re: assert Martin Sedlak Mon Nov 13, 2017 11:05 am
                  Re: assert Rasmus Althoff Mon Nov 13, 2017 11:49 pm
      Re: assert Henk van den Belt Mon Nov 13, 2017 10:26 am
      Re: assert Folkert van Heusden Mon Nov 13, 2017 10:50 am
            Re: assert Henk van den Belt Mon Nov 13, 2017 10:59 am
            Re: assert Marco Belli Mon Nov 13, 2017 11:24 am
      Re: assert Harald Lüßen Mon Nov 13, 2017 12:53 pm
            Re: assert Lucas Braesch Tue Nov 14, 2017 6:23 am
                  Re: assert Álvaro Begué Tue Nov 14, 2017 12:26 pm
                  Re: assert Harald Lüßen Tue Nov 14, 2017 7:45 pm
      Re: assert F. Bluemers Mon Nov 13, 2017 1:08 pm
      Re: assert H.G.Muller Mon Nov 13, 2017 3:14 pm
      Re: assert Jon Dart Mon Nov 13, 2017 5:59 pm
      Re: assert Henk van den Belt Tue Nov 14, 2017 8:17 pm
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group
Enhanced with Moby Threads