On Aug 4, 2008, at 6:18 PM, Greg Ewing wrote: > Dag Sverre Seljebotn wrote: > >> I don't think the [] syntax buys anything above a regular >> pointer notation? If so, removing support for int[]-notation >> altogether >> would get rid of the issue and lead to a cleaner grammar. > > The current declaration syntax has the advantage that it's > the same as in C, so people familiar with C don't have to > learn anything new. This would be a step away from that, > although a fairly minor one. > > Another consideration is how much existing code it would > break, which could be quite a lot.
+1 Also, c_type[] vs. object_type[] are easily discerned, and they both have similar (high level) meaning. - Robert _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
