thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Duxbury <br...@rapleaf.com>
Subject default, required, optional
Date Fri, 31 Oct 2008 20:09:04 GMT
Can someone help me understand the difference between required,  
default, and optional field modifiers? Required seems to make sense.  
Optional seems to make sense. However, the fact that there's a third  
state is quite ambiguous.

It seems like the field modifiers should be binary - required or  
optional. Leaving the modifier off should just be a shorthand for  
optional.

-Bryan

Mime
View raw message