ServerJS/Binary/C/Show of hands: Difference between revisions

From MozillaWiki
< ServerJS‎ | Binary‎ | C
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
:* Daniel Friesen
:* Daniel Friesen
:B) begin, end (used in .slice .substring)
:B) begin, end (used in .slice .substring)
blob[idx]:
:A) Leave blob[idx] out of the standard (easier to implement)
:B) Require implementations to implement blob[idx] (Array (and string?) methods will work on blobs)

Revision as of 17:14, 4 August 2009

This page lists the various show of hands for points within the Binary/C proposal.

Blob and Buffer in what module:

A) Blob and Buffer in require('binary');
  • Kris Kowal
  • Ash Berlin
B) Blob in require('binary'); and Buffer in require('io');
  • Mario Valente
C) Blob and Buffer as globals
  • Kris Kowal
  • Daniel Friesen (MonkeyScript will provide global Blob whether it is standard or a non-standard addition)
D) Blob as global and Buffer in require('io');

Method parameter preference for new methods (methods based on existing js methods will keep the same parameters.

A) offset, length (used in .splice .substr)
  • Daniel Friesen
B) begin, end (used in .slice .substring)

blob[idx]:

A) Leave blob[idx] out of the standard (easier to implement)
B) Require implementations to implement blob[idx] (Array (and string?) methods will work on blobs)