We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
不建议的写法:
local redis = require "resty.redis"
建议写法
local redis = require("resty.redis")
The text was updated successfully, but these errors were encountered:
这里没有正确和错误的说法,是个风格喜好问题。
有些人喜欢极简,能少写一行,就不多写。 我则更喜欢不用猜,代码易读。所以我更希望 lua 里使用下面的写法
Sorry, something went wrong.
这里没有正确和错误的说法,是个风格喜好问题。 有些人喜欢极简,能少写一行,就不多写。 我则更喜欢不用猜,代码易读。所以我更希望 lua 里使用下面的写法
我觉得应该统一,而不是两种都有。最佳实践是咱们的经验,那么风格上也应该遵循我们自己的喜好
将正确和错误改为建议和不建议
No branches or pull requests
不建议的写法:
建议写法
The text was updated successfully, but these errors were encountered: