Comments (5)
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.
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.
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.
Original comment by ross.bencina
on 6 Mar 2013 at 7:17
- Changed title: Naming of Array support functions (remaining: IsArrayBegin IsArrayEnd)
from oscpack.
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)
- Create a "one file" compilation of the library (one header file, one source file)
- 1.1.0-RC1 changes parameter type in AsBlob API on 64 bit -- maybe rollback? HOT 3
- I had to include <cstring> in OscPrintReceivedElements.h HOT 1
- Easy fix to suppress unused parameter warnings.
- Code assumes 4-character tabs
- Provide a way to get the automatically-selected port number
- Throw osc::OutOfBufferMemoryException in release mode (Win32 VS2010 CL) HOT 1
- Implement support for multicast address
- Provide a way to get the local endpoint for a connected socket
- Assertion Failed problem
- Adds multicast support HOT 1
- 64bit types defined as long long are incorrect in 64bit platforms
- CMakeLists include directories predefined cmake variable
- Can't compile on Ubuntu 10.10 HOT 3
- Can't compile with VS2010 Sp1 x86_64 HOT 1
- make install issues on Mac OS X Lion (10.7.2) HOT 3
- Patch from SuperCollider HOT 1
- Crash on << osc::EndBundle; HOT 5
- EXC_BAD_ACCESS in OscOutboundPacketStream.cpp HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oscpack.