{"action":"created","issue":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/8186","labels_url":"https://api.github.com/repos/Elgg/Elgg/issues/8186/labels{/name}","comments_url":"https://api.github.com/repos/Elgg/Elgg/issues/8186/comments","events_url":"https://api.github.com/repos/Elgg/Elgg/issues/8186/events","html_url":"https://github.com/Elgg/Elgg/issues/8186","id":67973666,"number":8186,"title":"Deprecate/ban use of anonymous functions or not?","user":{"login":"mrclay","id":170687,"avatar_url":"https://avatars.githubusercontent.com/u/170687?v=3","gravatar_id":"","url":"https://api.github.com/users/mrclay","html_url":"https://github.com/mrclay","followers_url":"https://api.github.com/users/mrclay/followers","following_url":"https://api.github.com/users/mrclay/following{/other_user}","gists_url":"https://api.github.com/users/mrclay/gists{/gist_id}","starred_url":"https://api.github.com/users/mrclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrclay/subscriptions","organizations_url":"https://api.github.com/users/mrclay/orgs","repos_url":"https://api.github.com/users/mrclay/repos","events_url":"https://api.github.com/users/mrclay/events{/privacy}","received_events_url":"https://api.github.com/users/mrclay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-12T23:38:20Z","updated_at":"2015-04-14T18:49:52Z","closed_at":null,"body":"We know anonymous functions are impossible to unregister as handlers, but some appear to be in favor of banning their use or nagging developers to avoid them. Just thought I'd start a discussion here.\r\n\r\nPersonally it would kind of bug me to not be able to use them even though it makes my plugins' actions less reversible. I'd be OK just discouraging devs not to use them."},"comment":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/comments/93017204","html_url":"https://github.com/Elgg/Elgg/issues/8186#issuecomment-93017204","issue_url":"https://api.github.com/repos/Elgg/Elgg/issues/8186","id":93017204,"user":{"login":"brettp","id":43375,"avatar_url":"https://avatars.githubusercontent.com/u/43375?v=3","gravatar_id":"","url":"https://api.github.com/users/brettp","html_url":"https://github.com/brettp","followers_url":"https://api.github.com/users/brettp/followers","following_url":"https://api.github.com/users/brettp/following{/other_user}","gists_url":"https://api.github.com/users/brettp/gists{/gist_id}","starred_url":"https://api.github.com/users/brettp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettp/subscriptions","organizations_url":"https://api.github.com/users/brettp/orgs","repos_url":"https://api.github.com/users/brettp/repos","events_url":"https://api.github.com/users/brettp/events{/privacy}","received_events_url":"https://api.github.com/users/brettp/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T18:49:52Z","updated_at":"2015-04-14T18:49:52Z","body":"I did not. Looks like you've been down this path already. Looks like that\nputs me in the \"ban anonymous functions\" boat.\n\nOn Tue, Apr 14, 2015 at 2:04 PM, Steve Clay <notifications@github.com>\nwrote:\n\n> @brettp <https://github.com/brettp> did you see #8071\n> <https://github.com/Elgg/Elgg/pull/8071>?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/Elgg/Elgg/issues/8186#issuecomment-93001424>.\n>\n\n\n\n-- \nBrett Profitt\nElgg Lead Developer\n\nElgg: http://elgg.org/\nSkype: brett.profitt\nTwitter: http://twitter.com/brettprofitt\n"}}