{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-sql-database-samples/issues/4","labels_url":"https://api.github.com/repos/Azure/azure-sql-database-samples/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-sql-database-samples/issues/4/comments","events_url":"https://api.github.com/repos/Azure/azure-sql-database-samples/issues/4/events","html_url":"https://github.com/Azure/azure-sql-database-samples/issues/4","id":108714219,"number":4,"title":"Collapse code which isn't different on different platforms. ","user":{"login":"bgianfo","id":1212,"avatar_url":"https://avatars.githubusercontent.com/u/1212?v=3","gravatar_id":"","url":"https://api.github.com/users/bgianfo","html_url":"https://github.com/bgianfo","followers_url":"https://api.github.com/users/bgianfo/followers","following_url":"https://api.github.com/users/bgianfo/following{/other_user}","gists_url":"https://api.github.com/users/bgianfo/gists{/gist_id}","starred_url":"https://api.github.com/users/bgianfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgianfo/subscriptions","organizations_url":"https://api.github.com/users/bgianfo/orgs","repos_url":"https://api.github.com/users/bgianfo/repos","events_url":"https://api.github.com/users/bgianfo/events{/privacy}","received_events_url":"https://api.github.com/users/bgianfo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-28T18:03:10Z","updated_at":"2015-09-28T18:29:47Z","closed_at":"2015-09-28T18:05:10Z","body":"There is currently duplicate code, for instance in the python example, which is exactly the same on both platforms and the only difference is the installation instructions on each platform.\r\n\r\nIdeally these would be collapsed and you could just have different sections for each platform, as currently the structure of the project makes it appear like you will need to write different code on different platforms, when that isn't true. "},"comment":{"url":"https://api.github.com/repos/Azure/azure-sql-database-samples/issues/comments/143835601","html_url":"https://github.com/Azure/azure-sql-database-samples/issues/4#issuecomment-143835601","issue_url":"https://api.github.com/repos/Azure/azure-sql-database-samples/issues/4","id":143835601,"user":{"login":"bgianfo","id":1212,"avatar_url":"https://avatars.githubusercontent.com/u/1212?v=3","gravatar_id":"","url":"https://api.github.com/users/bgianfo","html_url":"https://github.com/bgianfo","followers_url":"https://api.github.com/users/bgianfo/followers","following_url":"https://api.github.com/users/bgianfo/following{/other_user}","gists_url":"https://api.github.com/users/bgianfo/gists{/gist_id}","starred_url":"https://api.github.com/users/bgianfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgianfo/subscriptions","organizations_url":"https://api.github.com/users/bgianfo/orgs","repos_url":"https://api.github.com/users/bgianfo/repos","events_url":"https://api.github.com/users/bgianfo/events{/privacy}","received_events_url":"https://api.github.com/users/bgianfo/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T18:29:47Z","updated_at":"2015-09-28T18:29:47Z","body":"If it is indeed a goal, perhaps you should leave the issue open until you fix it? "}}