{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/6523","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/6523/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/6523/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/6523/events","html_url":"https://github.com/godotengine/godot/issues/6523","id":177573939,"number":6523,"title":"Improvements on class, function, property naming for 3.0","user":{"login":"reduz","id":6265307,"avatar_url":"https://avatars.githubusercontent.com/u/6265307?v=3","gravatar_id":"","url":"https://api.github.com/users/reduz","html_url":"https://github.com/reduz","followers_url":"https://api.github.com/users/reduz/followers","following_url":"https://api.github.com/users/reduz/following{/other_user}","gists_url":"https://api.github.com/users/reduz/gists{/gist_id}","starred_url":"https://api.github.com/users/reduz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reduz/subscriptions","organizations_url":"https://api.github.com/users/reduz/orgs","repos_url":"https://api.github.com/users/reduz/repos","events_url":"https://api.github.com/users/reduz/events{/privacy}","received_events_url":"https://api.github.com/users/reduz/received_events","type":"User","site_admin":false},"labels":[{"id":279097162,"url":"https://api.github.com/repos/godotengine/godot/labels/discussion","name":"discussion","color":"ee77ee","default":false},{"id":73330066,"url":"https://api.github.com/repos/godotengine/godot/labels/enhancement","name":"enhancement","color":"44bbff","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/godotengine/godot/milestones/4","html_url":"https://github.com/godotengine/godot/milestones/3.0","labels_url":"https://api.github.com/repos/godotengine/godot/milestones/4/labels","id":1449702,"number":4,"title":"3.0","description":"","creator":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"open_issues":202,"closed_issues":195,"state":"open","created_at":"2015-12-08T11:42:08Z","updated_at":"2016-11-16T01:15:22Z","due_on":null,"closed_at":null},"comments":63,"created_at":"2016-09-17T12:49:00Z","updated_at":"2016-11-16T17:51:41Z","closed_at":null,"body":"Godot API has been barely unchanged for 8 years. For version 3.0 we'll take the chance to break some compatibility to make the API less confusing in many aspects and improving it in others.\nIs there any method, functions, class, etc. that you have found confusing in the past, that you would wish it had a different name?\nIf so, this is the right time to start pointing it out! Feedback will be very welcome!\n\n![image](https://cloud.githubusercontent.com/assets/6265307/18608298/f3edc02e-7cbb-11e6-85b4-430174ac7b41.png)\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/261019426","html_url":"https://github.com/godotengine/godot/issues/6523#issuecomment-261019426","issue_url":"https://api.github.com/repos/godotengine/godot/issues/6523","id":261019426,"user":{"login":"neikeq","id":7718100,"avatar_url":"https://avatars.githubusercontent.com/u/7718100?v=3","gravatar_id":"","url":"https://api.github.com/users/neikeq","html_url":"https://github.com/neikeq","followers_url":"https://api.github.com/users/neikeq/followers","following_url":"https://api.github.com/users/neikeq/following{/other_user}","gists_url":"https://api.github.com/users/neikeq/gists{/gist_id}","starred_url":"https://api.github.com/users/neikeq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neikeq/subscriptions","organizations_url":"https://api.github.com/users/neikeq/orgs","repos_url":"https://api.github.com/users/neikeq/repos","events_url":"https://api.github.com/users/neikeq/events{/privacy}","received_events_url":"https://api.github.com/users/neikeq/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T17:51:41Z","updated_at":"2016-11-16T17:51:41Z","body":"`String.hex_to_int()` requires the string to begin with _\"0x\"_, otherwise it returns _0_. There are two problems with this, the first being that most users may expect the contrary behaviour or both to work. The second problem is that it silently returns a value that cannot be differentiated from a successful parsed hexadecimal string.\r\n\r\nMy proposal is to not force this requirement or to print an error and specify the requirement in the documentation.\r\n\r\nAnother thing that must be specified in the documentation is that this method returns a negative integer if the string begins with _\"-\"_, while it works with two's complement.\r\n"}}
{"actor":{"display_login":"neikeq"}}