dslomov / typed-objects-es7

ES7 typed objects spec draft
126 stars 7 forks source link

Settle name of `ArrayType` or `arrayType` method #8

Closed nikomatsakis closed 10 years ago

nikomatsakis commented 10 years ago

When trying to write examples I found that typeObj.ArrayType() seems to read very strangely to me. Now that we have the Type suffix, I think we should just make all methods start with a lower case letter.

@dslomov-chromium opinions?

nikomatsakis commented 10 years ago

Same for opaqueType() and OpaqueType()

dslomov commented 10 years ago

SGTM. arrayType and opaqueType it is.

nikomatsakis commented 10 years ago

i made this change in that latest PR.