Re: [protobuf] Re: New protobuf feature proposal: Generated classes for streaming / visitors

2011-04-03 Thread Kenton Varda
On Sat, Apr 2, 2011 at 3:53 PM, Jeffrey Damick jeffreydam...@gmail.comwrote: This may be a naive question, but wouldn't the format in text_format be a prime example another protocol? It seems that if you are able to reuse the vistor generate the text format, then it would be easily extendable

Re: [protobuf] Re: New protobuf feature proposal: Generated classes for streaming / visitors

2011-04-03 Thread Jeffrey Damick
It just seems like a lot machinery has to be repeated across encoders/decoders to walk the messages fields vs. a more event driven style like your vistor writer/filler which would abstract some of that, but it comes down to a matter of taste i suppose. I'm definitely in favor the generic vistor