Use octal values for output of tag code values.#137
Use octal values for output of tag code values.#137ZaneHannanAU wants to merge 1 commit intotafia:masterfrom
Conversation
Simpler reading of emitted source for values under 8 (and simpler reading of emitted type values regardless).
|
Hey, sorry for the late answer. May I know why do you think octal is better than hex for instance? |
|
In this case, it's because it displays somewhat better. For instance, rather than message L {
uint32 k = 1;
}producing a (slightly nonsensical) This expands to others, but does peter out after field 7 ( Other than that, literally no reason. Simply stronger patterns for humans to recognise. |
Simpler reading of emitted source for values under 8 (and simpler reading of emitted type values regardless).
Mostly a readability thing for outputted code.