Advertisement
Guest User

Untitled

a guest
Nov 21st, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1.  
  2. This is bad coding:
  3. //this counter is for the number of spam users
  4. $counter = 0;
  5. //this counter is for the number or records deleted in all the database (related tables)
  6. $counter2 = 0;
  7.  
  8. This is good coding and documentation:
  9.  
  10. $spamUsersDeletedCounter =0;
  11. $recordsDeletedCounter = 0;
  12.  
  13. When your variable names are GOOD, no comments are necessary.
  14. If not you create poor quality code.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement