GithubHelp home page GithubHelp logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
naming: the osc1.0 specs talk about `begin` and `end` (array boundaries are 
optional type tags). so it would be reasonable to use that. adding `Marker` ... 
not sure if it increases the expressive power of the API, but i'm not a native 
speaker

computing element count: probably a good idea to add `Compute' to the name.

Original comment by [email protected] on 4 Mar 2013 at 9:59

from oscpack.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
I've updated SVN as follows:
ARRAY_BEGIN_TYPE_TAG, ARRAY_END_TYPE_TAG
IsArrayBegin(), IsArrayEnd()
ComputeArrayItemCount()

As a native speaker I'm not entirely happy with IsArrayBegin/End but it's an 
improvement. I'm going to sleep on it.

Original comment by ross.bencina on 4 Mar 2013 at 10:23

from oscpack.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
I'm still struggling :

For now we have IsArrayBegin, IsArrayEnd for now. These have the advantage of 
starting with IsArray...  and ArrayBegin seems more like a noun for Is than 
BeginArray.

Some alternatives:

IsBeginArray -- Pro: BeginArray used elsewhere, Con: doesn't start with Array
IsBeginningOfArray -- Pro: reads well, in line with wording of spec, Con: 
semantics unclear (it's a pseudo argument that marks the beginning of an array, 
not actually the beginning of an array)
IsBeginningOfArrayTag -- ambiguous
IsBeginArrayMarker -- OK
IsBeginArrayTag -- OK but we don't use Tag anywhere else but it's a type tag

Original comment by ross.bencina on 6 Mar 2013 at 7:16

from oscpack.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024

Original comment by ross.bencina on 6 Mar 2013 at 7:17

  • Changed title: Naming of Array support functions (remaining: IsArrayBegin IsArrayEnd)

from oscpack.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
Closing. What we have is good enough.

Original comment by ross.bencina on 26 Mar 2013 at 9:37

  • Changed state: Fixed

from oscpack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.