?

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

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...