{"comment":{"url":"https://api.github.com/repos/TheSunak/project_euler_code/comments/11107005","html_url":"https://github.com/TheSunak/project_euler_code/commit/ef2e06309a6a8ad8e8dbebdec37f681ae43b3caa#commitcomment-11107005","id":11107005,"user":{"login":"CarlosPlusPlus","id":3589911,"avatar_url":"https://avatars.githubusercontent.com/u/3589911?v=3","gravatar_id":"","url":"https://api.github.com/users/CarlosPlusPlus","html_url":"https://github.com/CarlosPlusPlus","followers_url":"https://api.github.com/users/CarlosPlusPlus/followers","following_url":"https://api.github.com/users/CarlosPlusPlus/following{/other_user}","gists_url":"https://api.github.com/users/CarlosPlusPlus/gists{/gist_id}","starred_url":"https://api.github.com/users/CarlosPlusPlus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarlosPlusPlus/subscriptions","organizations_url":"https://api.github.com/users/CarlosPlusPlus/orgs","repos_url":"https://api.github.com/users/CarlosPlusPlus/repos","events_url":"https://api.github.com/users/CarlosPlusPlus/events{/privacy}","received_events_url":"https://api.github.com/users/CarlosPlusPlus/received_events","type":"User","site_admin":false},"position":49,"line":49,"path":"problem5.rb","commit_id":"ef2e06309a6a8ad8e8dbebdec37f681ae43b3caa","created_at":"2015-05-08T13:22:57Z","updated_at":"2015-05-08T13:22:57Z","body":"In Ruby, if you are generally 'checking' explicitly for `true` or `false`, you are doing something wrong.\r\n\r\n```ruby```\r\nwhile found_answer == false\r\n# is equivalent to\r\nwhile !found_answer\r\n```\r\n\r\nAccomplishes the same goal and is much cleaner."}}