{"action":"opened","issue":{"url":"https://api.github.com/repos/HaveF/havef.github.com/issues/2","labels_url":"https://api.github.com/repos/HaveF/havef.github.com/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/HaveF/havef.github.com/issues/2/comments","events_url":"https://api.github.com/repos/HaveF/havef.github.com/issues/2/events","html_url":"https://github.com/HaveF/havef.github.com/issues/2","id":117495462,"number":2,"title":"20151118关于ES6","user":{"login":"HaveF","id":54462,"avatar_url":"https://avatars.githubusercontent.com/u/54462?v=3","gravatar_id":"","url":"https://api.github.com/users/HaveF","html_url":"https://github.com/HaveF","followers_url":"https://api.github.com/users/HaveF/followers","following_url":"https://api.github.com/users/HaveF/following{/other_user}","gists_url":"https://api.github.com/users/HaveF/gists{/gist_id}","starred_url":"https://api.github.com/users/HaveF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaveF/subscriptions","organizations_url":"https://api.github.com/users/HaveF/orgs","repos_url":"https://api.github.com/users/HaveF/repos","events_url":"https://api.github.com/users/HaveF/events{/privacy}","received_events_url":"https://api.github.com/users/HaveF/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-18T02:14:09Z","updated_at":"2015-11-18T02:14:09Z","closed_at":null,"body":"之前也尝试用babel和traceur来写es6的程序，但考虑到调试的时候不能加断点进行调试（或是断点经常加的有问题），只能在编译后的js脚本中加入断点，觉得还想在等一等再使用ES6。\r\n\r\n但昨天写代码的时候发现有的功能其实已经在es6中实现了，如果没有es6的支持，还需要使用其它的一些额外的库比如underscore来完成相应的功能，又加上thoughtworks在2015年11月的technology radar中强烈建议新项目从es6开始，而且es6已经落入雷达的adapt区间，所以我决定尽快切换到es6上。\r\n\r\n原来是使用webstorm中的file watcher来控制babel转译，但我现在在考虑应该使用gulp来控制转译比较好，因为如果使用gulp的脚本，在使用CI的流程时会比较方便。"}}