?

Log in

Previous Entry | Next Entry

A Counter-Example

Related to my previous post, I would like to use MySQL++ as an counter-example: it's "result set" object does not have a "no more rows" method, it simply throws an exception when it is at the end.

See, this is a good example of something that is not exceptional at all.

Comments

( 5 comments — Leave a comment )
v0idnull
Oct. 16th, 2007 12:51 am (UTC)
I'm curious, where in Toulouse did you (do you?) work? I work for a company called nStein and they have an office in Toulouse. My boss is from Toulouse as well.
pphaneuf
Oct. 16th, 2007 12:54 am (UTC)
I worked for a company called Seanodes, but I'm back in Montreal now!
v0idnull
Oct. 16th, 2007 01:03 am (UTC)
ha ok, completely different world than nStein.
graydon
Oct. 16th, 2007 03:30 am (UTC)
Hey man, ES4 stops every single iterator with an exception. The entire iteration protocol! Iterate until exception! That exceptional, bizarre, unexpected end point of the loop!
pphaneuf
Oct. 16th, 2007 12:03 pm (UTC)
ECMAScript 4? Oh boy...
( 5 comments — Leave a comment )