interfaces are really only a tiny aspect of code correctness. especially in evented programming, it's often essential that say, a function callsback eventually, and only once.
for a Stream, or a more generic event emitter, it may be necessary to assert that things happen in a particular order. I'm experimenting with this currently. maybe this can be considered like a 'temporal interface'? On Sat, Jul 7, 2012 at 1:21 PM, Alexey Petrushin <alexey.petrus...@gmail.com> wrote: > Write executable specification is a good option. > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en