I would love the existing boolean and/or operators &/| to be made syntactically equivalent to the operators &&/|| . That is I am suggesting making the 2 forms equivalent, which is not the case with other languages where the single ampersand or pipe would be indicate either bitwise or forced eager evaluation (depending on the language), but neither of these cases is relevant to the Stata paradigm as far as I am aware. Thus I don't think there would be unwanted side effects.
Why?
Whenever I have just been writing code in any of the myriad of languages based on C syntax and come back to Stata, I get this wrong every second command! Obviously for 1 user this is irrelevant, but does anyone else experience this problem?
-
Login or Register
- Log in with
Leave a comment: