|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
Code rating system
Please could you explaing the code rating system in a little detail? I would like to assess the validity of the results. For example, can anonymous users vote? If so, what would prevent them from doing so multiple times? IP check?
I mainly ask because I would like to improve my code/coding practice. If I do not score a 10, I would like to know why, because that means something is wrong with my code. The way I see it, if I describe the intention (purpose/requirements) of the script and it meets these requirements, it should be voted 10, unless some schmuck decides it does not fulfil THEIR requirements, which could differ from the original intent. So, perhaps an advanced voting system could be implemented, where there is some breakdown that would let me know WHY a voter did not vote 10. That way I would know if I should rewrite it to fulfil different requirements. I know that few people vote as is, but perhaps, perhaps... Thanks, Peter |
|
#2
|
||||
|
||||
|
RE: Code rating system
I disagree with the "working code = score of 10" assertion. If the code is un-maintainable, hard to follow, not well commented, uses a poor algorithm, or is not easily ported to new environments, then it should recieve a lower score regardless of if it fulfills the stated requirements or not.
As for a more complex rating scheme, I'd worry about making it too complex and then people won't go through the trouble of rating code at all. |
|
#3
|
|||
|
|||
|
RE: Code rating system
The rating system does allow for anonymous votes. It does track via IP address.
I wouldn't base your coding skill on the votes it gets. Different people vote for different reasons. Some may vote it well people they liked and used the code. Some may vote it poor because they find it 'too simple', even though the code itself it fine. |
|
#4
|
|||
|
|||
|
RE: Code rating system
Sorry I was unclear. I meant for "requirements" to encapsulate not just functional attributes but also readability, correct commenting, appropriate variable naming, speed, and technique.
|
|
#5
|
||||
|
||||
|
RE: Code rating system
Mugane, do you mean that other users would vote separate times, one for functionality, one for readability, one for commenting etc?
|
|
#6
|
|||
|
|||
|
RE: Code rating system
Yes, sort of. There could be a single vote and a list of sub-categories with the ability to leave a brief (one-line) comment. I'm sure someone would vote this way and I know one person who would like to have this information :-)
Since the vote is optional anyhow, there's no reason not to try and get more info. As long as the voter knows that they don't have to leave additional info. P |
|
#7
|
||||
|
||||
|
RE: Code rating system
Matt, when are you going to do this update? It would be excellent!
|
|
#8
|
|||
|
|||
|
RE: Code rating system
What would these sub-categories be?
|
|
#9
|
||||
|
||||
|
RE: Code rating system
Here's a few good ones:
Functionality Readability Easiness of use Outlook (of the script's output) How useful the code is |
|
#10
|
|||
|
|||
|
RE: Code rating system
So..each person gets one vote and they have to choose why they are voting for a script. Should there also be a "Overall" option?
|
|
#11
|
||||
|
||||
|
RE: Code rating system
IMHO yes. There are always people who want to give only overall votes.
|
![]() |
| Viewing: Codewalkers Forums > Forum Information > Suggestions & Feedback > Code rating system |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|