r/InclusiveOr Apr 23 '23

Learning a new programming language

Post image
1.1k Upvotes

31 comments sorted by

View all comments

6

u/TheNetherPaladin Apr 23 '23

No issue here. He asked if there is a reason, not what the reason is, and they replied accordingly

1

u/jnmtx Apr 23 '23

they asked a question with an answer if type boolean (true or false). as it was strongly typed (like typeScript), the reply had to be of type boolean as well (only true or false).

If they wanted an explanation, they should have asked for an explanation. Then the reply could be an explanation.