n.b. that this is why time travel is a terrible idea.
Why HN was down
11–20 of 303 posts
Re: Why HN was down
#12I liberally sprinkle my code with assertions (CS theory calls them pre-conditions and post-conditions, iirc) to crash early if the system is an invalid state.
One my pet peeves is that few programmers seem to love assertions like I do. Would love to see to comments on this.
Re: Why HN was down
#13In any case I am thankful for the detailed explanation.
Re: Why HN was down
#14Re: Why HN was down
#15Are you saying you manually modify the database? Like, shifting around things by id instead of just making admin buttons next to posts?
Re: Why HN was down
#16Re: Why HN was down
#17Re: Why HN was down
#18I use assertions to protect against things like this. I liberally sprinkle my code with assertions (CS theory calls them pre-conditions and post-conditions, iirc) to crash early if the system is an invalid state. One my pet peeves is that few programmers seem to love assertions like I do. Would love to see to comments on this.