[Cython] cython-devel: array declaration problems with current trunk

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Aug 5 03:18:02 CEST 2008


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.

-- 
Greg


More information about the Cython-dev mailing list