Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread Martin Dias
+10 On Tue, Nov 12, 2013 at 9:24 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: +1 On Nov 12, 2013, at 4:39 PM, Johan Fabry jfa...@dcc.uchile.cl wrote: Hi all, I am preparing slides for a course. I came to the typical: Number subclass: #Complex instanceVariableNames: 'real

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread jtuc...@objektfabrik.de
Hi, I'd like to draw your attention to something else: consistency. I remember the days when Cincom added Namespaces to classes and the class definition template changed drastically. It took me quite a while to get used to that. And there is this other aspect in the consistency field: most

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread jtuc...@objektfabrik.de
Yuri, Okay, so why not go one step further and kill PoolDictionaries? I mean, if no one uses them and you'd like to hide them from the users, they obviously are unnecessary. That would be a real cleanup, right? PoolDictionaries are potentially dangerous, because you can put things there that

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread Yuriy Tymchuk
On 14 Nov 2013, at 11:10, jtuc...@objektfabrik.de wrote: Yuri, Okay, so why not go one step further and kill PoolDictionaries? I mean, if no one uses them and you'd like to hide them from the users, they obviously are unnecessary. That would be a real cleanup, right? Yes it would, the

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread jtuc...@objektfabrik.de
Am 14.11.13 11:23, schrieb Sergi Reyner: 2013/11/14 jtuc...@objektfabrik.de mailto:jtuc...@objektfabrik.de jtuc...@objektfabrik.de mailto:jtuc...@objektfabrik.de And what if I need PoolDictionaries? Unless my understanding of the proposal is way off, you would just add

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread Clément Bera
2013/11/14 jtuc...@objektfabrik.de jtuc...@objektfabrik.de Yuri, Okay, so why not go one step further and kill PoolDictionaries? This was done in OOVM / Resilient Smalltalk. And it was clean and worked well. I mean, if no one uses them and you'd like to hide them from the users, they

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread Johan Fabry
Note that I'm not advocating removing PoolDictionaries. Just to have the subclassing template not mention them. I would leave the subclassing message with the poolDictionaries: argument in the system for people to use it if they want to. On Nov 14, 2013, at 7:02 AM, jtuc...@objektfabrik.de

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread Johan Fabry
On Nov 14, 2013, at 7:29 AM, jtuc...@objektfabrik.de wrote: Unless my understanding of the proposal is way off, you would just add poolDictionaries: 'whatever' before category:. No horrible breaking of anything would happen. Cheers, Sergi I disagree ;-) I find it hard to remember the

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-12 Thread Camille Teruel
+1 On 12 nov. 2013, at 16:39, Johan Fabry jfa...@dcc.uchile.cl wrote: Hi all, I am preparing slides for a course. I came to the typical: Number subclass: #Complex instanceVariableNames: 'real imaginary' classVariableNames: '' poolDictionaries: '' category: 'ComplexNumbers'

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-12 Thread Stéphane Ducasse
+1 On Nov 12, 2013, at 4:39 PM, Johan Fabry jfa...@dcc.uchile.cl wrote: Hi all, I am preparing slides for a course. I came to the typical: Number subclass: #Complex instanceVariableNames: 'real imaginary' classVariableNames: '' poolDictionaries: '' category: 'ComplexNumbers'