Re: [Pharo-project] I don't agree with DummyXXX

2012-11-22 Thread Henrik Sperre Johansen

On 21.11.2012 18:55, Mariano Martinez Peck wrote:



On Wed, Nov 21, 2012 at 4:50 PM, Igor Stasenko siguc...@gmail.com 
mailto:siguc...@gmail.com wrote:


On 21 November 2012 12:47, Fernando Olivero
fernando.oliv...@usi.ch mailto:fernando.oliv...@usi.ch wrote:
 I totally agree.  Dummy does not tell me about the class.

 Are there just 3 uses of Dummy in the core?

 We should either use Null  or use a specific prefix always, so
its form a
 consisten pattern.

 DummyUIManager - NullUIManager

yes, not Headless please.


why?

It is not a complete NULL UIManager.  A NullUIManager would implement 
all the API and do nothing (or implement nothing but only 
#doesNotUnderstand: doing nothing or something like that) 
 DummyUIManger DOES stuff, but it makes sures not to end up calling 
the UI (like progress bar, notifications, confirmations, etc). So, in 
this particular case, HeadlessUIManager is much more accurate for me 
than Null.
Same can be said for DummySoundSystem, it does route the Beeper sound to 
a tangible place. ;)


How about MinimalXXX?
As in, they do the least amount of things possible to still remain 
useful in a limited, yet non-null manner.


Cheers,
Henry


Re: [Pharo-project] I don't agree with DummyXXX

2012-11-21 Thread Fernando Olivero
I totally agree.  Dummy does not tell me about the class.

Are there just 3 uses of Dummy in the core?

We should either use Null  or use a specific prefix always, so its form a
consisten pattern.

DummyUIManager - NullUIManager

Fernando

On Wed, Nov 21, 2012 at 4:34 PM, Mariano Martinez Peck 
marianop...@gmail.com wrote:

 From what I understand, Dummy means something different. I have using that
 for class names. More accurate names can be found.
 I would rename:

 DummyUIManager - HeadlessUIManager
 DummySystemProgressItem - NullSystemProgressItem
 DummySoundSystem - NullSoundSystem

 what do you think? do you have better names?

 --
 Mariano
 http://marianopeck.wordpress.com




Re: [Pharo-project] I don't agree with DummyXXX

2012-11-21 Thread Igor Stasenko
On 21 November 2012 12:47, Fernando Olivero fernando.oliv...@usi.ch wrote:
 I totally agree.  Dummy does not tell me about the class.

 Are there just 3 uses of Dummy in the core?

 We should either use Null  or use a specific prefix always, so its form a
 consisten pattern.

 DummyUIManager - NullUIManager

yes, not Headless please.

 Fernando

 On Wed, Nov 21, 2012 at 4:34 PM, Mariano Martinez Peck
 marianop...@gmail.com wrote:

 From what I understand, Dummy means something different. I have using that
 for class names. More accurate names can be found.
 I would rename:

 DummyUIManager - HeadlessUIManager
 DummySystemProgressItem - NullSystemProgressItem
 DummySoundSystem - NullSoundSystem

 what do you think? do you have better names?

 --
 Mariano
 http://marianopeck.wordpress.com





-- 
Best regards,
Igor Stasenko.



Re: [Pharo-project] I don't agree with DummyXXX

2012-11-21 Thread Camillo Bruni

On 2012-11-21, at 12:34, Mariano Martinez Peck marianop...@gmail.com wrote:

 From what I understand, Dummy means something different. I have using that
 for class names. More accurate names can be found.
 I would rename:
 
 DummyUIManager - HeadlessUIManager

it's actually more like NullUImanager :) since we have the CommandLineUIManager 
which is headless but interactive.

 DummySystemProgressItem - NullSystemProgressItem
 DummySoundSystem - NullSoundSystem
 
 what do you think? do you have better names?

I prefer them, yes.


Re: [Pharo-project] I don't agree with DummyXXX

2012-11-21 Thread Marten Feldtmann

Nicht um 1600 Uhr ? Wolltest Du nicht noch Unterlagen rumschicken ?


marten

On 21.11.2012 16:47, Fernando Olivero wrote:

I totally agree.  Dummy does not tell me about the class.

Are there just 3 uses of Dummy in the core?

We should either use Null  or use a specific prefix always, so its form
a consisten pattern.

DummyUIManager - NullUIManager

Fernando

On Wed, Nov 21, 2012 at 4:34 PM, Mariano Martinez Peck
marianop...@gmail.com mailto:marianop...@gmail.com wrote:

 From what I understand, Dummy means something different. I have
using that for class names. More accurate names can be found.
I would rename:

DummyUIManager - HeadlessUIManager
DummySystemProgressItem - NullSystemProgressItem
DummySoundSystem - NullSoundSystem

what do you think? do you have better names?

--
Mariano
http://marianopeck.wordpress.com


attachment: marten.vcf

Re: [Pharo-project] I don't agree with DummyXXX

2012-11-21 Thread Sebastian Sastre
 DeafX

Deaf suggesting an X that's non reactive as you would normally expect

 



On Nov 21, 2012, at 1:47 PM, Fernando Olivero wrote:

 I totally agree.  Dummy does not tell me about the class.
 
 Are there just 3 uses of Dummy in the core?
 
 We should either use Null  or use a specific prefix always, so its form a 
 consisten pattern.
 
 DummyUIManager - NullUIManager
 
 Fernando
 
 On Wed, Nov 21, 2012 at 4:34 PM, Mariano Martinez Peck 
 marianop...@gmail.com wrote:
 From what I understand, Dummy means something different. I have using that 
 for class names. More accurate names can be found.
 I would rename:
 
 DummyUIManager - HeadlessUIManager
 DummySystemProgressItem - NullSystemProgressItem
 DummySoundSystem - NullSoundSystem
 
 what do you think? do you have better names?
 
 --
 Mariano
 http://marianopeck.wordpress.com
 
 



Re: [Pharo-project] I don't agree with DummyXXX

2012-11-21 Thread Max Leske
How about void or noon?


On 21.11.2012, at 17:07, Sebastian Sastre sebast...@flowingconcept.com wrote:

  DeafX
 
 Deaf suggesting an X that's non reactive as you would normally expect
 
  
 
 
 
 On Nov 21, 2012, at 1:47 PM, Fernando Olivero wrote:
 
 I totally agree.  Dummy does not tell me about the class.
 
 Are there just 3 uses of Dummy in the core?
 
 We should either use Null  or use a specific prefix always, so its form a 
 consisten pattern.
 
 DummyUIManager - NullUIManager
 
 Fernando
 
 On Wed, Nov 21, 2012 at 4:34 PM, Mariano Martinez Peck 
 marianop...@gmail.com wrote:
 From what I understand, Dummy means something different. I have using that 
 for class names. More accurate names can be found.
 I would rename:
 
 DummyUIManager - HeadlessUIManager
 DummySystemProgressItem - NullSystemProgressItem
 DummySoundSystem - NullSoundSystem
 
 what do you think? do you have better names?
 
 --
 Mariano
 http://marianopeck.wordpress.com
 
 
 



Re: [Pharo-project] I don't agree with DummyXXX

2012-11-21 Thread Stéphane Ducasse
Yes I would prefer.

Stef
On Nov 21, 2012, at 4:34 PM, Mariano Martinez Peck wrote:

 From what I understand, Dummy means something different. I have using that 
 for class names. More accurate names can be found. 
 I would rename:
 
 DummyUIManager - HeadlessUIManager
 DummySystemProgressItem - NullSystemProgressItem
 DummySoundSystem - NullSoundSystem
 
 what do you think? do you have better names?
 
 -- 
 Mariano
 http://marianopeck.wordpress.com
 




Re: [Pharo-project] I don't agree with DummyXXX

2012-11-21 Thread Mariano Martinez Peck
On Wed, Nov 21, 2012 at 4:50 PM, Igor Stasenko siguc...@gmail.com wrote:

 On 21 November 2012 12:47, Fernando Olivero fernando.oliv...@usi.ch
 wrote:
  I totally agree.  Dummy does not tell me about the class.
 
  Are there just 3 uses of Dummy in the core?
 
  We should either use Null  or use a specific prefix always, so its form a
  consisten pattern.
 
  DummyUIManager - NullUIManager
 
 yes, not Headless please.


why?

It is not a complete NULL UIManager.  A NullUIManager would implement all
the API and do nothing (or implement nothing but only #doesNotUnderstand:
doing nothing or something like that)  DummyUIManger DOES stuff, but it
makes sures not to end up calling the UI (like progress bar, notifications,
confirmations, etc). So, in this particular case, HeadlessUIManager is much
more accurate for me than Null.

 Fernando
 
  On Wed, Nov 21, 2012 at 4:34 PM, Mariano Martinez Peck
  marianop...@gmail.com wrote:
 
  From what I understand, Dummy means something different. I have using
 that
  for class names. More accurate names can be found.
  I would rename:
 
  DummyUIManager - HeadlessUIManager
  DummySystemProgressItem - NullSystemProgressItem
  DummySoundSystem - NullSoundSystem
 
  what do you think? do you have better names?
 
  --
  Mariano
  http://marianopeck.wordpress.com
 
 



 --
 Best regards,
 Igor Stasenko.




-- 
Mariano
http://marianopeck.wordpress.com


Re: [Pharo-project] I don't agree with DummyXXX

2012-11-21 Thread Igor Stasenko
On 21 November 2012 14:55, Mariano Martinez Peck marianop...@gmail.com wrote:


 On Wed, Nov 21, 2012 at 4:50 PM, Igor Stasenko siguc...@gmail.com wrote:

 On 21 November 2012 12:47, Fernando Olivero fernando.oliv...@usi.ch
 wrote:
  I totally agree.  Dummy does not tell me about the class.
 
  Are there just 3 uses of Dummy in the core?
 
  We should either use Null  or use a specific prefix always, so its form
  a
  consisten pattern.
 
  DummyUIManager - NullUIManager
 
 yes, not Headless please.


 why?

 It is not a complete NULL UIManager.  A NullUIManager would implement all
 the API and do nothing (or implement nothing but only #doesNotUnderstand:
 doing nothing or something like that)  DummyUIManger DOES stuff, but it
 makes sures not to end up calling the UI (like progress bar, notifications,
 confirmations, etc). So, in this particular case, HeadlessUIManager is much
 more accurate for me than Null.

then you will need to explain EVERY time to users why they should use
CommandLineUIManager, or NonInteractiveUIManager for headless mode,
rather than HeadlessUIManager.
Good luck with that :)


  Fernando
 
  On Wed, Nov 21, 2012 at 4:34 PM, Mariano Martinez Peck
  marianop...@gmail.com wrote:
 
  From what I understand, Dummy means something different. I have using
  that
  for class names. More accurate names can be found.
  I would rename:
 
  DummyUIManager - HeadlessUIManager
  DummySystemProgressItem - NullSystemProgressItem
  DummySoundSystem - NullSoundSystem
 
  what do you think? do you have better names?
 
  --
  Mariano
  http://marianopeck.wordpress.com
 
 



 --
 Best regards,
 Igor Stasenko.




 --
 Mariano
 http://marianopeck.wordpress.com




-- 
Best regards,
Igor Stasenko.



Re: [Pharo-project] I don't agree with DummyXXX

2012-11-21 Thread Igor Stasenko
On 21 November 2012 15:11, Igor Stasenko siguc...@gmail.com wrote:
 On 21 November 2012 14:55, Mariano Martinez Peck marianop...@gmail.com 
 wrote:


 On Wed, Nov 21, 2012 at 4:50 PM, Igor Stasenko siguc...@gmail.com wrote:

 On 21 November 2012 12:47, Fernando Olivero fernando.oliv...@usi.ch
 wrote:
  I totally agree.  Dummy does not tell me about the class.
 
  Are there just 3 uses of Dummy in the core?
 
  We should either use Null  or use a specific prefix always, so its form
  a
  consisten pattern.
 
  DummyUIManager - NullUIManager
 
 yes, not Headless please.


 why?

 It is not a complete NULL UIManager.  A NullUIManager would implement all
 the API and do nothing (or implement nothing but only #doesNotUnderstand:
 doing nothing or something like that)  DummyUIManger DOES stuff, but it
 makes sures not to end up calling the UI (like progress bar, notifications,
 confirmations, etc). So, in this particular case, HeadlessUIManager is much
 more accurate for me than Null.

 then you will need to explain EVERY time to users why they should use
 CommandLineUIManager, or NonInteractiveUIManager for headless mode,
 rather than HeadlessUIManager.
 Good luck with that :)


this is, btw , one of the reasons why i picked NonInteractive name
instead of calling it 'headless'.
Because it is more precise. And Camillo also used 'CommandLine'
instead of 'Headless'.

In this regard, Dummy/Null is much more precise with describing
behavior of that ui manager class than headless.

-- 
Best regards,
Igor Stasenko.



Re: [Pharo-project] I don't agree with DummyXXX

2012-11-21 Thread Sebastian Sastre
be careful with precision vs. intuition conventions

each of them have benefits for the long and short term

also a price










On Nov 21, 2012, at 4:14 PM, Igor Stasenko wrote:

 On 21 November 2012 15:11, Igor Stasenko siguc...@gmail.com wrote:
 On 21 November 2012 14:55, Mariano Martinez Peck marianop...@gmail.com 
 wrote:
 
 
 On Wed, Nov 21, 2012 at 4:50 PM, Igor Stasenko siguc...@gmail.com wrote:
 
 On 21 November 2012 12:47, Fernando Olivero fernando.oliv...@usi.ch
 wrote:
 I totally agree.  Dummy does not tell me about the class.
 
 Are there just 3 uses of Dummy in the core?
 
 We should either use Null  or use a specific prefix always, so its form
 a
 consisten pattern.
 
 DummyUIManager - NullUIManager
 
 yes, not Headless please.
 
 
 why?
 
 It is not a complete NULL UIManager.  A NullUIManager would implement all
 the API and do nothing (or implement nothing but only #doesNotUnderstand:
 doing nothing or something like that)  DummyUIManger DOES stuff, but it
 makes sures not to end up calling the UI (like progress bar, notifications,
 confirmations, etc). So, in this particular case, HeadlessUIManager is much
 more accurate for me than Null.
 
 then you will need to explain EVERY time to users why they should use
 CommandLineUIManager, or NonInteractiveUIManager for headless mode,
 rather than HeadlessUIManager.
 Good luck with that :)
 
 
 this is, btw , one of the reasons why i picked NonInteractive name
 instead of calling it 'headless'.
 Because it is more precise. And Camillo also used 'CommandLine'
 instead of 'Headless'.
 
 In this regard, Dummy/Null is much more precise with describing
 behavior of that ui manager class than headless.
 
 -- 
 Best regards,
 Igor Stasenko.
 



Re: [Pharo-project] I don't agree with DummyXXX

2012-11-21 Thread Esteban A. Maringolo
I vote for Null*

For me Deaf* reminds me the DeafObject of Dolphin which always returns
itself (or true to #mustBeBoolean).
It is some kind of /dev/null, useful to the creation of the GUI, where some
objects aren't available yet and might get an undesired message.


Regards!






--
View this message in context: 
http://forum.world.st/I-don-t-agree-with-DummyXXX-tp4656199p4656255.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.



Re: [Pharo-project] I don't agree with DummyXXX

2012-11-21 Thread Camillo Bruni
 why?
 
 It is not a complete NULL UIManager.  A NullUIManager would implement all
 the API and do nothing (or implement nothing but only #doesNotUnderstand:
 doing nothing or something like that)  DummyUIManger DOES stuff, but it
 makes sures not to end up calling the UI (like progress bar, notifications,
 confirmations, etc). So, in this particular case, HeadlessUIManager is much
 more accurate for me than Null.
 
 then you will need to explain EVERY time to users why they should use
 CommandLineUIManager, or NonInteractiveUIManager for headless mode,
 rather than HeadlessUIManager.
 Good luck with that :)
 
 
 this is, btw , one of the reasons why i picked NonInteractive name
 instead of calling it 'headless'.
 Because it is more precise. And Camillo also used 'CommandLine'
 instead of 'Headless'.
 
 In this regard, Dummy/Null is much more precise with describing
 behavior of that ui manager class than headless.

exactly! :)


Re: [Pharo-project] I don't agree with DummyXXX

2012-11-21 Thread Sebastian Nozzi
What about SilentXXX?

2012/11/21 Camillo Bruni camillobr...@gmail.com:
 why?

 It is not a complete NULL UIManager.  A NullUIManager would implement all
 the API and do nothing (or implement nothing but only #doesNotUnderstand:
 doing nothing or something like that)  DummyUIManger DOES stuff, but it
 makes sures not to end up calling the UI (like progress bar, notifications,
 confirmations, etc). So, in this particular case, HeadlessUIManager is much
 more accurate for me than Null.

 then you will need to explain EVERY time to users why they should use
 CommandLineUIManager, or NonInteractiveUIManager for headless mode,
 rather than HeadlessUIManager.
 Good luck with that :)


 this is, btw , one of the reasons why i picked NonInteractive name
 instead of calling it 'headless'.
 Because it is more precise. And Camillo also used 'CommandLine'
 instead of 'Headless'.

 In this regard, Dummy/Null is much more precise with describing
 behavior of that ui manager class than headless.

 exactly! :)