<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Thu, 1 Nov 2018 at 01:34, <<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
Eliot Miranda uploaded a new version of VMMaker to project VM Maker:<br>
<a href="http://source.squeak.org/VMMaker/VMMaker.oscog-eem.2480.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/VMMaker/VMMaker.oscog-eem.2480.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: VMMaker.oscog-eem.2480<br>
Author: eem<br>
Time: 31 October 2018, 10:33:03.858395 am<br>
UUID: bb3ffda7-8241-4dea-b886-d656e474b6c1<br>
Ancestors: VMMaker.oscog-eem.2479<br>
<br>
Simulator:<br>
Provide simulation stubs for the B3DAcceleratorPlugin C api.<br><br>
Item was added:<br>
+ ----- Method: B3DAcceleratorPlugin>>b3dDrawArrays:_:_:_: (in category 'simulation') -----<br>
+ b3dDrawArrays: handle _: mode _: minIdx _: maxIdx<br>
+       "int b3dDrawArrays(int handle, int mode, int minIdx, int maxIdx)"<br>
+       <doNotGenerate><br>
+       ^false!<br></blockquote><div><br></div><div>Not actually a request to change anything since <doNotGenerate> is a well established convention,  but just sharing a thought that occurs to me because I like to understand conventions rather than take them for granted.</div><div><br></div><div>For someone naively looking through the code for the first time, </div><div><doNotGenerate> indicates what it "doesn't" but not what it "does"</div><div>and <simulation> might be more intuitive for newcomers to understand.</div><div><br></div><div>Its a question of which is better to be explicit and which implicit. Two sides of the same coin...</div><div><doNotGenerate> - explicit about code generation, implicit about simulation</div><div><simulation> - explicit about simulation, implicit about code generation.</div><div><br></div><div>anyway...</div><div>cheers -ben</div></div></div>