Re: [DOLFIN-dev] () and [] access in Parameters

2009-09-06 Thread Anders Logg
On Sun, Sep 06, 2009 at 07:05:47PM +0200, Johan Hake wrote: > On Sunday 06 September 2009 18:32:18 Garth N. Wells wrote: > > Anders Logg wrote: > > > Should we swap the meaning of () and [] for parameters in C++? > > > > > > Access is most commonly made to parameters, not nested parameter sets, > >

Re: [DOLFIN-dev] () and [] access in Parameters

2009-09-06 Thread Johan Hake
On Sunday 06 September 2009 18:32:18 Garth N. Wells wrote: > Anders Logg wrote: > > Should we swap the meaning of () and [] for parameters in C++? > > > > Access is most commonly made to parameters, not nested parameter sets, > > so swapping the two would make the Python and C++ interfaces more > >

Re: [DOLFIN-dev] () and [] access in Parameters

2009-09-06 Thread Garth N. Wells
Anders Logg wrote: > Should we swap the meaning of () and [] for parameters in C++? > > Access is most commonly made to parameters, not nested parameter sets, > so swapping the two would make the Python and C++ interfaces more > similar. > The more similar the interfaces are the better. Garth

[DOLFIN-dev] () and [] access in Parameters

2009-09-06 Thread Anders Logg
Should we swap the meaning of () and [] for parameters in C++? Access is most commonly made to parameters, not nested parameter sets, so swapping the two would make the Python and C++ interfaces more similar. -- Anders signature.asc Description: Digital signature ___