Merge pull request #320 from davegregg/master

Grammar and readability edits in Clickjacking and Ninja Code
This commit is contained in:
Ilya Kantor 2017-12-16 11:24:38 +03:00 committed by GitHub
commit d382ba7246
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 29 deletions

View file

@ -80,7 +80,7 @@ While choosing a name try to use the most abstract word. Like `obj`, `data`, `va
Give them a try. A young ninja may wonder -- do such names make the code worse? Actually, yes!
From one hand, the variable name still means something. It says what's inside the variable: a string, a number or something else. But when an outsider tries to understand the code, he'll be surprised to see that there's actually no information at all!
Sure, the variable name still means something. It says what's inside the variable: a string, a number or something else. But when an outsider tries to understand the code, he'll be surprised to see that there's actually no information at all!
Indeed, the value type is easy to find out by debugging. But what's the meaning of the variable? Which string/number does it store? There's just no way to figure out without a good meditation!