Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
impossible to assign a default value to a bool #13
It looks like thrift doesn't define any syntax for true/false as a default value, so convention is to use 0 and 1, which may make sense to C people, but is objectively idiotic.
Scrooge should support both true/false and 0/1 as default values for bools.
Example from David Helder:
const bool ECHO_FRAMED = 1;