The infinitive in English is two words with possibly other words separating them, the word "to" and then the verb lacking any "s" or "es" or other tense, number or person modifiers: "to program" or "to code."
Thanks. I know the difference :) I meant in method selectors include: vs includes:
I choose preservesCDataSections because it is more obvious that it returns a boolean and that the corresponding preservesCDataSections: accepts a boolean.
If you call the testing message preserveCDataSections,
No I would write is isPreservingCDataSections doesPreserveCDataSections for me preservesCDataSection: should better be written as preserveCDataSections: Because I do not have to think if I should put an S or not.
it sounds more like you are commanding the receiver to do so rather than asking if it already does..
Also, my mail client ate the example code, so here it is again: doc := (XMLDOMParser on: '<root><![CDATA[&foo;&bar;]]></root>') preservesCDataSections: true;
Yes but it looks like an order too and I do not understand the difference between using preserveSCD.... and parseDocument (with no S after parseDocument)
parseDocument. doc root firstNode produces: <![CDATA[&foo;&bar;]]>
I follow Beck and Smalltalk with Style (see my web page) convention.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project