You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The variable names used in the code describe what the type of data their holding is, instead of the contextual information required to read the code.
For example, DWORD dw; could be named DWORD bytesWritten; so that when you're reading the code without context it's obvious whether it's important to you.
Here's a diff as an example that improves code readability
The variable names used in the code describe what the type of data their holding is, instead of the contextual information required to read the code.
For example,
DWORD dw;
could be namedDWORD bytesWritten;
so that when you're reading the code without context it's obvious whether it's important to you.Here's a diff as an example that improves code readability
Before
After
The benefit of improved code readability is that the barrier to entry reduces, and the project is more likely to receive contributions.
The text was updated successfully, but these errors were encountered: