News for hackers. Stuff that matters.
Re:Reflections on 10k Hours of Programming by ensiferum on Friday August 06, 2021 @05:01PM (#28092687)
Yes in c/++ it also allows you to use const.

const foo = bar ? 1 : 2;

Without ternary you wouldn't be able to use const specifier on foo.

There are no comments on this comment yet.