From: Kevin K. <kk...@ny...> - 2008-07-02 11:21:27
|
Alexandre Ferrieux: >> OK. Then let's run a poll to decide in what direction the TIP should >> evolve: >> Please, all, give your choice 1-3 between: >> >> 1) [chan pipe pr pw] returns {} and [chan pipe] returns [list $pr >> $pw] (TclX, current TIP) > > Is there some more useful bit of info than just "" that could be > returned here? E.g. like [gets], which returns the num bytes read when a > varName is supplied. > >> 2) both return [list $pr $pw] (Daniel's suggestion) >> >> 3) [chan pipe pr pw] is removed, hence only allowed single idiom >> [lassign [chan pipe] pr pw] (Freddie's suggestion) Neil Madden: > I don't think there's a significant difference between these proposals > -- just minor syntax variations. It seems that each is capable of > trivially implementing the others. So I'd say just pick whichever you > prefer and go with it. My preference is (3), second choice (2) - but this is indeed a bikeshed argument. None of the choices is bad enough to make me vote against the TIP on that ground. -- 73 de ke9tv/2, Kevin |