Re: [Pharo-users] Trapping the Pharo window close event

2016-04-22 Thread Dimitris Chloupis
Just for the record I am in agreement as I think most of us are about this. But I think as a community must make one thing clear Pharo is environment meant to be hacked. Its not always to do so but similarly to Squeak, the goal here is to give developers and environment that they can design

Re: [Pharo-users] Trapping the Pharo window close event

2016-04-22 Thread Dimitris Chloupis
sorry meant to say Pharo is not lazy coder friendly by nature. On Fri, Apr 22, 2016 at 10:03 AM Dimitris Chloupis wrote: > Just for the record I am in agreement as I think most of us are about > this. > > But > > I think as a community must make one thing clear > > Pharo is environment meant

Re: [Pharo-users] ensureCreateFile

2016-04-22 Thread Valentin Ryckewaert
For me ensureCreateFolder is made to be sure the folder is created, if you make '/home/a/b/c/d' with a b c d not existing it will create all of them. ensureCreateFile should do the same thing no ? 2016-04-21 13:19 GMT+02:00 Peter Uhnák : > because it's like this > > ensureCreateFolder : create th

[Pharo-users] About Traits

2016-04-22 Thread Julien Delplanque
Hello, I have a question about Trait. Is it ok, in the design point of view, to use them to force an object to implement an interface? Like that it would be possible to check (via an #assert: for example) if a class provides the interface required. I read some things I found on the net abo

Re: [Pharo-users] About Traits

2016-04-22 Thread Hilaire
Hi Julien, Le 22/04/2016 16:45, Julien Delplanque a écrit : > Hello, > > I have a question about Trait. > > Is it ok, in the design point of view, to use them to force an object to > implement an interface? Why not using a parent abstract class for that, with required method answering #subclas

Re: [Pharo-users] About Traits

2016-04-22 Thread Julien Delplanque
On 22/04/16 17:04, Hilaire wrote: Hi Julien, Le 22/04/2016 16:45, Julien Delplanque a écrit : Hello, I have a question about Trait. Is it ok, in the design point of view, to use them to force an object to implement an interface? Why not using a parent abstract class for that, with require

Re: [Pharo-users] About Traits

2016-04-22 Thread Stephan Eggermont
On 22-04-16 17:04, Hilaire wrote: Hi Julien, Le 22/04/2016 16:45, Julien Delplanque a écrit : Hello, I have a question about Trait. Is it ok, in the design point of view, to use them to force an object to implement an interface? Why not using a parent abstract class for that, with required

Re: [Pharo-users] Tabular ODS import

2016-04-22 Thread Alistair Grant
On Thu, Apr 21, 2016 at 07:49:24PM -0700, John Pfersich wrote: > > > On Apr 20, 2016, at 23:55, Alistair Grant wrote: > > > >> On Wed, Apr 20, 2016 at 11:43:19PM +0200, Cyril Ferlicot D. wrote: > >> Le 20/04/2016 22:47, Alistair Grant a écrit : > >> If you use several times the same code you can