{"comment":{"url":"https://api.github.com/repos/OpencachingDeutschland/oc-server3/comments/17433901","html_url":"https://github.com/OpencachingDeutschland/oc-server3/commit/8365f239f86aefeb3340cd07e9371d629d7b6a86#commitcomment-17433901","id":17433901,"user":{"login":"following5","id":1614754,"avatar_url":"https://avatars.githubusercontent.com/u/1614754?v=3","gravatar_id":"","url":"https://api.github.com/users/following5","html_url":"https://github.com/following5","followers_url":"https://api.github.com/users/following5/followers","following_url":"https://api.github.com/users/following5/following{/other_user}","gists_url":"https://api.github.com/users/following5/gists{/gist_id}","starred_url":"https://api.github.com/users/following5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/following5/subscriptions","organizations_url":"https://api.github.com/users/following5/orgs","repos_url":"https://api.github.com/users/following5/repos","events_url":"https://api.github.com/users/following5/events{/privacy}","received_events_url":"https://api.github.com/users/following5/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"8365f239f86aefeb3340cd07e9371d629d7b6a86","created_at":"2016-05-11T13:34:38Z","updated_at":"2016-05-11T13:34:38Z","body":"If === would throw a warning when comparing different types, I think it would be safe to use it wherever possible. But it doesn't, so using === always means: We _imply_ that the data types are equal, and if we were in error about that (e.g. a function returns integer values with data type float for whatever reason, and we compare === 1), then we introduce a hard-to-detect bug."}}