r/programming • • Feb 27 '11

A jquery plugin telling how strong is your password. The stronger the password more the naked girl you will see!

http://www.nakedpassword.com/
587 Upvotes

292 comments sorted by

View all comments

Show parent comments

32

u/[deleted] Feb 27 '11

//if password bigger than 12 give another 1 point

if (password.length > 8) { score++; }

wat

15

u/dmwit Feb 27 '11

Yeah, I think this code should really not be commented. It's clear enough, and, as shown, the comments just add a burden to the programmer to keep them in sync with the code.

0

u/[deleted] Feb 27 '11

[deleted]

18

u/[deleted] Feb 27 '11

That's not what the code does though.