Skip to content

前后文不一致以及示例代码无法运行的问题的修改 #264

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

Closed
wants to merge 3 commits into from

Conversation

conanca
Copy link

@conanca conanca commented Oct 29, 2013

拙劣的续貂,希望能一起探讨。

1.跟前文一致。
2.根据谷歌搜索关键字:“私有 公有 字段” 和“私有 共有 字段”,前者结果数目较多。
本书作为入门型书籍,最好出现的示例代码都是能实际运行的代码。便于初学者理解学习,否则很难分清楚什么是关键字什么是示例用的变量名。
原文中前6个示例代码都因为关键字等问题无法运行,而本书之后出现的代码基本都可以运行。
不明白这6个示例代码仅是为了叙述“定义变量”的格式而这么写吗?为什么不跟之后统一起来都能运行呢?或者可以考虑用另一种字体(如加粗斜体)来说明格式。
拙劣的改了一下,希望能一起讨论这个问题。
@astaxie
Copy link
Owner

astaxie commented Oct 29, 2013

这三个文件的修改,第一个和最后一个没必要修改啊

@conanca
Copy link
Author

conanca commented Oct 29, 2013

1.第一个是前后文不一致问题
前文中是:
< form action="/login" method="post" >
到后面所述的"action"值就变成了http://127.0.0.1:9090/login ,会让人疑惑

2.第三个问题,我觉得要么改成能运行的代码;要么将这几个代码改一下字体,以表示是格式说明

@astaxie astaxie closed this Jan 26, 2014
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

Successfully merging this pull request may close these issues.

2 participants