ha cool, didn't know that existed. I might want to try it out, but for fun and not my studies :D
I'm looking at design patterns in "family style" board games, like monopoly, risk, catan, uno, 7 wonders, dominion, munchkin.. whatever. Pen&Paper role playing games are a bit too "generic"
thanks for the hint! will check it out. A lot of the companies put manuals on their websites, but it's quite a pain to collect all of them one by one. Maybe I should use a crawler..
Thanks a lot, but I'm not focusing on those. Tabletop in general is fine, but nothing too "big". General guideline: if the rules fit on 10 pages or less, I'm interested ;)
reorder parameters for determPwGen::__construct so that the optional parameter rounds comes last. or just get rid of the rounds parameter alltogether and implement setRounds
extract the 1000 rounds default as a constant
rename determPwGen to DeterministicPasswordGenerator, making the name obvious (otherwise people have to remember the exact way you used to abbreviate the name. minimize situations where developers have to think whenever you can). also it is common to start the name of classes with a capital letter.
why is it "generateHash" but "site_label"? yea one is a variable and the other a function, but keeping it consistent increases readability
There is some more you could do, you might enjoy the book "clean code" by Robert C. Martin
I really like what is going on at stackoverflow.com
I think the key features for a good comment system would be those which already have been mentioned:
voting
commenting on comments
moderation
"moderation" should best be done by the community itself. Like at stackoverflow: if a comment gets too many downvotes, it is hidden by default. The commenting on comments features is important so that mistakes or bad habits can be pointed out and corrected.
I would really love you to improve the php.net comments in general, it can be a great source for information and tips!
Protocols (HTTP(S), FTP, features and security-danger-zones(think about cookies and sessionstealing)),
hashing/salting (how do I store passwords securely? Which passwords should I accept as secure enough?)
How to learn about that stuff... Hmh, to be honest I don't know the perfect way, what I know I learned by poking around and attending conferences
ha cool, didn't know that existed. I might want to try it out, but for fun and not my studies :D
I'm looking at design patterns in "family style" board games, like monopoly, risk, catan, uno, 7 wonders, dominion, munchkin.. whatever. Pen&Paper role playing games are a bit too "generic"
thanks for the hint! will check it out. A lot of the companies put manuals on their websites, but it's quite a pain to collect all of them one by one. Maybe I should use a crawler..
Thanks a lot, but I'm not focusing on those. Tabletop in general is fine, but nothing too "big". General guideline: if the rules fit on 10 pages or less, I'm interested ;)
not a senior coder, but these are my suggestions:
reorder parameters for determPwGen::__construct so that the optional parameter rounds comes last. or just get rid of the rounds parameter alltogether and implement setRounds
extract the 1000 rounds default as a constant
rename determPwGen to DeterministicPasswordGenerator, making the name obvious (otherwise people have to remember the exact way you used to abbreviate the name. minimize situations where developers have to think whenever you can). also it is common to start the name of classes with a capital letter.
why is it "generateHash" but "site_label"? yea one is a variable and the other a function, but keeping it consistent increases readability
There is some more you could do, you might enjoy the book "clean code" by Robert C. Martin
edit: reddit syntax ..
Yes I would love to have it, too!
I really like what is going on at stackoverflow.com
I think the key features for a good comment system would be those which already have been mentioned:
"moderation" should best be done by the community itself. Like at stackoverflow: if a comment gets too many downvotes, it is hidden by default. The commenting on comments features is important so that mistakes or bad habits can be pointed out and corrected.
I would really love you to improve the php.net comments in general, it can be a great source for information and tips!
Protocols (HTTP(S), FTP, features and security-danger-zones(think about cookies and sessionstealing)), hashing/salting (how do I store passwords securely? Which passwords should I accept as secure enough?)
How to learn about that stuff... Hmh, to be honest I don't know the perfect way, what I know I learned by poking around and attending conferences
Good question! I try to talk to different people who are writing PHP as well, but a nice place to go to would be cool.
http://davidwalsh.name/ blogs about web developing stuff in general on a relatively high level. Maybe you want to check out his blog :)
End of this list.
Back to top