{"action":"created","issue":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3800","labels_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3800/labels{/name}","comments_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3800/comments","events_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3800/events","html_url":"https://github.com/D-Programming-Language/phobos/pull/3800","id":116023920,"number":3800,"title":"Removed string predicates from std.algorithm.iteration documentation","user":{"login":"JackStouffer","id":680068,"avatar_url":"https://avatars.githubusercontent.com/u/680068?v=3","gravatar_id":"","url":"https://api.github.com/users/JackStouffer","html_url":"https://github.com/JackStouffer","followers_url":"https://api.github.com/users/JackStouffer/followers","following_url":"https://api.github.com/users/JackStouffer/following{/other_user}","gists_url":"https://api.github.com/users/JackStouffer/gists{/gist_id}","starred_url":"https://api.github.com/users/JackStouffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackStouffer/subscriptions","organizations_url":"https://api.github.com/users/JackStouffer/orgs","repos_url":"https://api.github.com/users/JackStouffer/repos","events_url":"https://api.github.com/users/JackStouffer/events{/privacy}","received_events_url":"https://api.github.com/users/JackStouffer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-10T04:33:12Z","updated_at":"2015-11-23T16:16:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3800","html_url":"https://github.com/D-Programming-Language/phobos/pull/3800","diff_url":"https://github.com/D-Programming-Language/phobos/pull/3800.diff","patch_url":"https://github.com/D-Programming-Language/phobos/pull/3800.patch"},"body":"The two most common things that I hear when introducing D to people are\r\n\r\n* \"Is `writeln` actually a property of `string`!?\" (misunderstanding of UFCS)\r\n* \"Does D really use strings instead of lambdas?\"\r\n\r\nNothing much can be done for the first one, idiosyncrasies are part of learning a new language. But the second one is mostly because the docs use string predicates more than lambdas. String predicates are bad practice compared to lambdas IMO and should be discouraged by not including them in docs. Yes, there are legitimate uses of string predicates, but 99% of the time, you should use lambdas."},"comment":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/comments/158983730","html_url":"https://github.com/D-Programming-Language/phobos/pull/3800#issuecomment-158983730","issue_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3800","id":158983730,"user":{"login":"JackStouffer","id":680068,"avatar_url":"https://avatars.githubusercontent.com/u/680068?v=3","gravatar_id":"","url":"https://api.github.com/users/JackStouffer","html_url":"https://github.com/JackStouffer","followers_url":"https://api.github.com/users/JackStouffer/followers","following_url":"https://api.github.com/users/JackStouffer/following{/other_user}","gists_url":"https://api.github.com/users/JackStouffer/gists{/gist_id}","starred_url":"https://api.github.com/users/JackStouffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackStouffer/subscriptions","organizations_url":"https://api.github.com/users/JackStouffer/orgs","repos_url":"https://api.github.com/users/JackStouffer/repos","events_url":"https://api.github.com/users/JackStouffer/events{/privacy}","received_events_url":"https://api.github.com/users/JackStouffer/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T16:16:18Z","updated_at":"2015-11-23T16:16:18Z","body":"@schveiguy ping."}}