Missing documentation for ? operator, and how to improve documentation

This is wrong.

Also wrong. (? is a keyword, and not a function call like ordinary operators, and its behavior can’t be modified/overloaded by packages.)

See ? in the manual and the control flow section of the manual’s discussion of the ternary operator.

Sure, if we want the documentation to be confidently wrong…

See also the discussion in chatGPT policy needed? … ML-generated answers often do more harm than good.

4 Likes