|
From: Francesc A. <fa...@ca...> - 2006-02-23 17:03:39
|
Hi Sasha, A Dissabte 18 Febrer 2006 20:49, Sasha va escriure: > I have reviewed mailing list discussions of rank-0 arrays vs. scalars > and I concluded that the current implementation that contains both is > (almost) correct. I will address the "almost" part with a concrete > proposal at the end of this post (search for PROPOSALS if you are only > interested in the practical part). > > The main criticism of supporting both scalars and rank-0 arrays is > that it is "unpythonic" in the sense that it provides two almost > equivalent ways to achieve the same result. However, I am now > convinced that this is the case where practicality beats purity. It's a bit late, but I want to support your proposal (most of it). I've also come to the conclusion that scalars and rank-0 arrays should coexist. This is something that appears as a natural fact when you have to deal regularly with general algorithms for treat objects with different shapes. And I think you have put this very well. Thanks, =2D-=20 >0,0< Francesc Altet =A0 =A0 http://www.carabos.com/ V V C=E1rabos Coop. V. =A0=A0Enjoy Data "-" |