{"action":"created","issue":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2104","repository_url":"https://api.github.com/repos/RobotLocomotion/drake","labels_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2104/labels{/name}","comments_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2104/comments","events_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2104/events","html_url":"https://github.com/RobotLocomotion/drake/issues/2104","id":148490377,"number":2104,"title":"Consider using #pragma once, instead of include guards","user":{"login":"jwnimmer-tri","id":17596505,"avatar_url":"https://avatars.githubusercontent.com/u/17596505?v=3","gravatar_id":"","url":"https://api.github.com/users/jwnimmer-tri","html_url":"https://github.com/jwnimmer-tri","followers_url":"https://api.github.com/users/jwnimmer-tri/followers","following_url":"https://api.github.com/users/jwnimmer-tri/following{/other_user}","gists_url":"https://api.github.com/users/jwnimmer-tri/gists{/gist_id}","starred_url":"https://api.github.com/users/jwnimmer-tri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwnimmer-tri/subscriptions","organizations_url":"https://api.github.com/users/jwnimmer-tri/orgs","repos_url":"https://api.github.com/users/jwnimmer-tri/repos","events_url":"https://api.github.com/users/jwnimmer-tri/events{/privacy}","received_events_url":"https://api.github.com/users/jwnimmer-tri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-04-14T21:43:01Z","updated_at":"2016-04-15T00:03:33Z","closed_at":null,"body":"I think we should consider whether Drake should use `#pragma once`.  (There was an [embedded discussion of this in a PR](https://github.com/RobotLocomotion/drake/pull/1876#issuecomment-197489381) with only weak participation.)\r\n\r\nI'll post two comments to receive thumbs-up votes for what people like better.  If you have pro/con discussions, post those as comments.\r\n\r\nGoogle style guide on the topic:\r\n- https://google.github.io/styleguide/cppguide.html#The__define_Guard\r\n\r\nWikipedia for a little background:\r\n- https://en.wikipedia.org/wiki/Pragma_once\r\n"},"comment":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/comments/210210402","html_url":"https://github.com/RobotLocomotion/drake/issues/2104#issuecomment-210210402","issue_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2104","id":210210402,"user":{"login":"liangfok","id":1388098,"avatar_url":"https://avatars.githubusercontent.com/u/1388098?v=3","gravatar_id":"","url":"https://api.github.com/users/liangfok","html_url":"https://github.com/liangfok","followers_url":"https://api.github.com/users/liangfok/followers","following_url":"https://api.github.com/users/liangfok/following{/other_user}","gists_url":"https://api.github.com/users/liangfok/gists{/gist_id}","starred_url":"https://api.github.com/users/liangfok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liangfok/subscriptions","organizations_url":"https://api.github.com/users/liangfok/orgs","repos_url":"https://api.github.com/users/liangfok/repos","events_url":"https://api.github.com/users/liangfok/events{/privacy}","received_events_url":"https://api.github.com/users/liangfok/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T00:03:33Z","updated_at":"2016-04-15T00:03:33Z","body":"How about let's compromise by using both? http://stackoverflow.com/questions/13339392/should-i-still-use-include-guards-and-pragma-once"}}