Le 15/08/2015 10:24, Marcus Denker a écrit : > Hi, > > I am now adding a property API to Global/Class Variables and Instance > Variables (aka Slots). > > When looking at the other property APIs, we have 4 different conventions: > > 1) CompiledMethod and Behavior: > > propertyValueAt: > > 2) RB AST Nodes: > propertyAt: > > 3) Ring: > annotationNamed: > > and (4) Morphic uses: > valueOfProperty: > > > I would like to unify 1-3 as this is all the same use case: attaching meta > data to the > structural model. > > I propose to unify the API to the same as the RB AST: just #propertyAt:. > Morphic we should > not touch... > > Marcus >
+1 for the propertyAt: / propertyAt:put: / propertyAt:ifPresent:ifAbsent: etc... This is a easiest way, in my opinion, for a relation key/value. We should not touch Morph, but what about bloc ? Bloc seems to use the same names as Morph. -- Cyril
signature.asc
Description: OpenPGP digital signature
