Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议上传书中所用的代码到github #22

Open
arisliang opened this issue Mar 12, 2018 · 2 comments
Open

建议上传书中所用的代码到github #22

arisliang opened this issue Mar 12, 2018 · 2 comments

Comments

@arisliang
Copy link

遇到几个这种问题了,有的还没法解决。就是按照书中的例子输入了代码,但结果不正确。但由于有的书中代码与官方代码有很大区别,这就导致自己按照书中的例子输入的代码,很难与官方代码进行比较,错误也很难找出。

如果能够把书中的代码上传到github,相信自己按照书中输入的代码就比较容易比较了。

@zsdonghao
Copy link
Member

不会有很大差别吧,书中代码就是官方代码呀

@arisliang
Copy link
Author

arisliang commented Mar 13, 2018

如果做diff比较,会发现有书中代码和官方代码有不同(一般是简化)。有时有书中有错误,不过大部分应该是自己输入的有错误,但由于和官方代码diff的差别,需要肉眼去观察,发现问题的效率就不高。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants