[Development] Avoid overloading of 'error'

André Somers andre at familiesomers.nl
Thu Jun 11 11:10:33 CEST 2015


Thiago Macieira schreef op 10-6-2015 om 18:42:
> On Wednesday 10 June 2015 15:14:07 Hausmann Simon wrote:
>> Hi,
>>
>> I think renaming the getter to lastError is nice! I however do like error as
>> signal name and it looks good in qml as onError:...
> "onError" screams of Basic to me...
> 	ON ERROR GO SUB foo
> or worse
> 	ON ERROR RESUME
>
> I don't mind the getter still being named "error" because it's a noun and we
> name our properties (and thus the getters) after nouns.
In that case, you could also considder the verb "to err", with its past 
tense erred...

André




More information about the Development mailing list