Re: [Pharo-dev] FileDoesNotExist vs FileDoesNotExistException

2018-05-22 Thread Alistair Grant
On Mon, May 21, 2018 at 09:17:24PM +0300, Denis Kudriashov wrote: > > 2018-05-21 21:14 GMT+03:00 Sven Van Caekenberghe : > > > > > On 21 May 2018, at 20:07, Guillermo Polito > wrote: > > > > If I'm recalling well (which I might not

Re: [Pharo-dev] FileDoesNotExist vs FileDoesNotExistException

2018-05-21 Thread Denis Kudriashov
2018-05-21 21:14 GMT+03:00 Sven Van Caekenberghe : > > > > On 21 May 2018, at 20:07, Guillermo Polito > wrote: > > > > If I'm recalling well (which I might not :)) there is one thing (that I > don't quite like) that prevents these two classes to be easily

Re: [Pharo-dev] FileDoesNotExist vs FileDoesNotExistException

2018-05-21 Thread Sven Van Caekenberghe
> On 21 May 2018, at 20:07, Guillermo Polito wrote: > > If I'm recalling well (which I might not :)) there is one thing (that I don't > quite like) that prevents these two classes to be easily merged into one: > their #defaultAction. We need a good talk/discussion

Re: [Pharo-dev] FileDoesNotExist vs FileDoesNotExistException

2018-05-21 Thread Guillermo Polito
If I'm recalling well (which I might not :)) there is one thing (that I don't quite like) that prevents these two classes to be easily merged into one: their #defaultAction. On Mon, May 21, 2018 at 7:07 PM, Alistair Grant wrote: > On Mon, May 21, 2018 at 03:01:57PM +0200,

Re: [Pharo-dev] FileDoesNotExist vs FileDoesNotExistException

2018-05-21 Thread Alistair Grant
On Mon, May 21, 2018 at 03:01:57PM +0200, Cyril Ferlicot D. wrote: > Le 21/05/2018 ?? 14:58, Alistair Grant a ??crit??: > > Hi Everyone, > > > > Does anyone know the history behind FileDoesNotExist and > > FileDoesNotExistException? > > > > Both classes exist in 6.1, and as far as I can tell,

Re: [Pharo-dev] FileDoesNotExist vs FileDoesNotExistException

2018-05-21 Thread Denis Kudriashov
+1 2018-05-21 16:36 GMT+03:00 Sven Van Caekenberghe : > I vote for the simple names without Exception in them. > > > On 21 May 2018, at 15:01, Cyril Ferlicot D. > wrote: > > > > Le 21/05/2018 à 14:58, Alistair Grant a écrit : > >> Hi Everyone, > >> > >>

Re: [Pharo-dev] FileDoesNotExist vs FileDoesNotExistException

2018-05-21 Thread Sven Van Caekenberghe
I vote for the simple names without Exception in them. > On 21 May 2018, at 15:01, Cyril Ferlicot D. wrote: > > Le 21/05/2018 à 14:58, Alistair Grant a écrit : >> Hi Everyone, >> >> Does anyone know the history behind FileDoesNotExist and >> FileDoesNotExistException?

Re: [Pharo-dev] FileDoesNotExist vs FileDoesNotExistException

2018-05-21 Thread Cyril Ferlicot D.
Le 21/05/2018 à 14:58, Alistair Grant a écrit : > Hi Everyone, > > Does anyone know the history behind FileDoesNotExist and > FileDoesNotExistException? > > Both classes exist in 6.1, and as far as I can tell, both are intended > to do the same thing, i.e. the class comments are: > >

[Pharo-dev] FileDoesNotExist vs FileDoesNotExistException

2018-05-21 Thread Alistair Grant
Hi Everyone, Does anyone know the history behind FileDoesNotExist and FileDoesNotExistException? Both classes exist in 6.1, and as far as I can tell, both are intended to do the same thing, i.e. the class comments are: FileDoesNotExist; I am raised when an operation is attempted on a file that

Re: [Pharo-dev] FileDoesNotExist vs. FileDoesNotExistException

2016-09-08 Thread Francisco Ortiz Peñaloza
I do prefer the shorter name. Generally I avoid using exception as a suffix consistently if doesn't add information. Consistency is overrated :D On Thursday, 8 September 2016, Esteban Lorenzano wrote: > > > On 08 Sep 2016, at 09:03, Guille Polito

Re: [Pharo-dev] FileDoesNotExist vs. FileDoesNotExistException

2016-09-08 Thread Esteban Lorenzano
> On 08 Sep 2016, at 09:03, Guille Polito wrote: > > I'd argue also for consistency. When some exceptions are named "Exception" > and others are not, my eyes hurt. +1 > > Original Message >> My very first thoughts are... >> >> On Thu, Sep 8,

Re: [Pharo-dev] FileDoesNotExist vs. FileDoesNotExistException

2016-09-08 Thread Guille Polito
I'd argue also for consistency. When some exceptions are named "Exception" and others are not, my eyes hurt. Original Message My very first thoughts are... On Thu, Sep 8, 2016 at 3:35 AM, stepharo wrote: Hi guys in

Re: [Pharo-dev] FileDoesNotExist vs. FileDoesNotExistException

2016-09-08 Thread Guille Polito
I'd argue also for consistency. When some exceptions are named "Exception" and others are not, my eyes hurt. Original Message My very first thoughts are... On Thu, Sep 8, 2016 at 3:35 AM, stepharo wrote: Hi guys in

Re: [Pharo-dev] FileDoesNotExist vs. FileDoesNotExistException

2016-09-07 Thread Ben Coman
My very first thoughts are... On Thu, Sep 8, 2016 at 3:35 AM, stepharo wrote: > Hi guys > > in > https://pharo.fogbugz.com/f/cases/19026/Merge-FileDoesNotExist-and-FileDoesNotExistException > sven proposed to have > > FileDoesNotExist and remove the FileDoesNotExistException

[Pharo-dev] FileDoesNotExist vs. FileDoesNotExistException

2016-09-07 Thread stepharo
Hi guys in https://pharo.fogbugz.com/f/cases/19026/Merge-FileDoesNotExist-and-FileDoesNotExistException sven proposed to have FileDoesNotExist and remove the FileDoesNotExistException Before doing it I would like to have your point of view on the names. For now I'm neutral and indeed if we