You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I recall correctly, in JavaScript and PHP worlds, comparing strictly by default is considered good practice; loose comparison should be only used conciously to avoid type conversion. I am, however, not sure how this works in Elixir.
The text was updated successfully, but these errors were encountered:
Apparently, the strict equal === operator is only useful when comparing integers and floats. Other types are never equal if they are of different types. The strict comparison only adds a redundant type checking instruction.
See Structural comparison for more information on comparison in Elixir. Closing this issue as not required.
If I recall correctly, in JavaScript and PHP worlds, comparing strictly by default is considered good practice; loose comparison should be only used conciously to avoid type conversion. I am, however, not sure how this works in Elixir.
The text was updated successfully, but these errors were encountered: