Think about Loose Coupling  
PerlMonks 
RE: Xtreme Ponderingby Dominus (Parson) 
on Nov 13, 2000 at 21:32 UTC ( #41356=note: print w/replies, xml )  Need Help?? 
Yes, and that 5XP a day from voting looks even smaller when you
consider that the same person is also getting a free 2XP
every day just for logging in. On a related metter, a couple of days ago I got to wondering how big the voting bonus really was. An Acolyte gets 8 votes per day, so it's easy to see that the Acolyte can expect to acquire an extra 2 XP from casting votes. (Not counting an additional bonus of 2 XP for using them all up.) But the 2XP is really a 25% chance of 1 XP for each vote, so the Acolyte might be lucky and get more XP, or unlucky and get none at all. (THe program will run When you run this, you can give it an argument which is the number of votes you get per day; it defaults to 8. Then it prints out a table showing the probability of getting each possible number of XP:
The '3' line here says that there is a 20.76% chance of receiving exactly 3 XP, and a 11.38% chance of receiving more than 3 XP. The '0' line says there's a 10.01% chance of receving nothing at all.
The chances fall off pretty quickly as the number of points increase, but still about one Acolyte in 11 can expect to get 4 XP from casting votes instead of only 2 XP on a given day.
In Section
Perl Monks Discussion

