I recommend to use the namespace feature, it's supported by nearly every language e.g. namespace java org.example.mypackage namespace cpp example.mypackage
-Roger > -----Ursprüngliche Nachricht----- > Von: Jens Geyer [mailto:[email protected]] > Gesendet: Mittwoch, 3. August 2011 03:49 > An: [email protected] > Betreff: Thrift class names > > I'd like to know, if there are any "official" suggestions for the namings of > Thrift classes in general? > > Background is, that not all languages support namespaces and the original > names (I refer to the C++ implementation) might create naming conflicts > with other environments. Currently I avoid that by renaming the classes in > my case, I add an additional "Thrift" to the name, so that (example) > TBinaryProtocol becomes TThriftBinaryProtocol. > > Is this in line with the guidelines (if any), or are there any other requirements > or suggestions? > > Thanks + regards, > JensG > > > > >
