3 ms·
From your link: Finally, let’s insist that the separators be part of the method name; i.e., let’s require that the name of the method be “rotate by: around:” a
by uytuijhgj 9y ago
From your link:
Finally, let’s insist that the separators be part of the method name; i.e., let’s require that the name of the method be “rotate by: around:” and let’s get rid of the spaces to get “rotateby:around:” as the name and finally, let’s capitalize internal words just for readability to get “rotateBy:around:”. Then our example could be written
rotateBy: a around: v //This is Smalltalk
This is also what Objective-C / Apple does.
- igouy 9y ago> This is also what Objective-C / Apple does. Inspired by Smalltalk-80. See "A short history of Objective-C" https://medium.com/chmcore/a-short-history-of-objective-c-aff9d2bde8dd https://medium.com/chmcore/a-short-history-of-objective-c-af...