{"comment":{"url":"https://api.github.com/repos/b4n/fishman-ctags/comments/14943320","html_url":"https://github.com/b4n/fishman-ctags/commit/d0d29d632f5abda3de4d5cb6a728305e49c73033#commitcomment-14943320","id":14943320,"user":{"login":"b4n","id":793526,"avatar_url":"https://avatars.githubusercontent.com/u/793526?v=3","gravatar_id":"","url":"https://api.github.com/users/b4n","html_url":"https://github.com/b4n","followers_url":"https://api.github.com/users/b4n/followers","following_url":"https://api.github.com/users/b4n/following{/other_user}","gists_url":"https://api.github.com/users/b4n/gists{/gist_id}","starred_url":"https://api.github.com/users/b4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b4n/subscriptions","organizations_url":"https://api.github.com/users/b4n/orgs","repos_url":"https://api.github.com/users/b4n/repos","events_url":"https://api.github.com/users/b4n/events{/privacy}","received_events_url":"https://api.github.com/users/b4n/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"d0d29d632f5abda3de4d5cb6a728305e49c73033","created_at":"2015-12-12T21:47:22Z","updated_at":"2015-12-12T21:47:22Z","body":"It could be argued that giving names to anonymous classes is inconsistent with how anonymous functions (closures) are currently handled, but the main difference is that anonymous classes will have members/methods which require a parent to make sense.  Anonymous functions could gain a similar name if wanted.\r\n\r\nAlso, maybe the naming scheme is not the best it could be.  [PHP itself](https://wiki.php.net/rfc/anonymous_classes#internal_class_naming) will rather give names like `class@0x1234` (for non-derived classes) or `mine@0x4567` (for classes derived from `mine`), so maybe we should do something similar and name them something like `class@0xposition` or something similar."}}