Clarify operator dictation examples in documentation#440
Conversation
Updated the description of the 'is equal' operator to include '===' and added 'is weak equal' for '==' in the documentation.
✅ Deploy Preview for talon-wiki-refactor ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
FireChickenProductivity
left a comment
There was a problem hiding this comment.
The behavior of these commands depends on the active programming language. I recommend clarifying that the is equal example was for Python.
The intent was to have minimal examples and then have users rely on help operators. The help system has the advantage of automatically being up to date.
I would not mind having examples for is equal and is weak equal for Javascript and PHP because consistent support for strict/weak comparison is relatively new and it might not occur to experienced users to look for it otherwise.
|
From the Community Backlog session — agreed makes sense to include an example of a language with more equal operators but please make it clear that the discussion in the second half of the paragraph is no longer about Python. |
nriley
left a comment
There was a problem hiding this comment.
Please see comment above.
Updated the description of the 'is equal' operator to include '===' and added 'is weak equal' for '==' in the documentation.