It can be verified by use of tuples x, (y, z) := A[id1], B[id2] But the above doesn't work. Why ?
On Monday, June 6, 2011 at 11:13:04 PM UTC+5:30, soapboxcicero wrote: > > var A, B map[something]bool > ... > x, y, z := A[id1], B[id2] > > is y the value of B[id2] and z whether it's in B or is y whether id1 > is in A and z the value of B[id2]? > > On Mon, Jun 6, 2011 at 10:39 AM, ceving <cev...@gmail.com <javascript:>> > wrote: > > On Jun 6, 7:30 pm, chris dollin <ehog.he...@googlemail.com> wrote: > >> > >> Programming languages are designed for the convenience of > >> people; mere logical consistency is neither necessary nor > >> sufficient. > > > > Sorry but when you think convenience is the most important thing for a > > programmer you should stop programming at all and start sitting in the > > sun. ;-) > > > > Correctness is the most important aim of programming! And I don't > > think that there is much controversy about this on this planet. And > > correctness is only achieved by a simple and logical language design. > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.