Hacker News new | ask | show | jobs
by hot_gril 770 days ago
Proto3 already got the required/optional feature added. I don't see why they couldn't have added default values too. (Personally I liked proto3 without optionals, defaults, extensions, etc, but it was a tough sell for people already used to proto2.)
1 comments

They can, and feature flags is one flexible (if somewhat verbose) way to do it.