On 26/02/2016 11:26, Alexandre Bergel wrote:
Hi Alain,
Having contract is a valuable effort!
On Feb 26, 2016, at 11:12 AM, Alain Rastoul <alf.mmm.cat@gmail.com> wrote:
<contract: #ensured appliedTo: #( #add: )>
What does that mean? <contract: #ensured appliedTo: #( #add: )>
Alexandre
In fact I think may be better to use #before and #after since it is what is used internally with MetaLink, it is clear and more developper friendly, with singular and plural forms : for contracts applied to only one method: <contract: #before method: #add:> <contract: #after method: #add:> for contracts applied to several methods: <contract: #before methods: #( #add: #addLast: #addIfNotPresent:)> <contract: #after methods: #( #add: #addLast: #addIfNotPresent:)> what do you think of that ? -- Alain