thriftrw / thriftrw-node

A thrift binary encoding library using bufrw
MIT License
57 stars 25 forks source link

Enforce unambiguous case #96

Open kriskowal opened 8 years ago

kriskowal commented 8 years ago

Across languages, any identifier may be remapped from PascalCase or camelCase to a convention acceptable for an identifier class in its particular language. For example, Python remaps camelCase methods to snake_case. Go must remap camelCase to PascalCase on methods for them to be public. As a consequence, no name space can have two names that vary only by their case convention. This needs to be enforced to guarantee portability.

ThriftRW-node needs to coerce all identifiers to camelCase for purposes of eliminating name collisions for its internal lookup table.