Download this file
| 1 | Below is the complete source of a small web app (a server-rendered |
| 2 | TodoMVC with a little JavaScript), written in {LANGUAGE}. Judge how |
| 3 | readable it is for an experienced developer who knows {LANGUAGE} but has |
| 4 | never seen this code. Judge the code, not the choice of language. |
| 5 | |
| 6 | Score each from 1 (poor) to 5 (excellent): |
| 7 | - naming: names say what things are and do |
| 8 | - structure: files and functions are organised so you can find things |
| 9 | - traceability: how easily you can follow one request (e.g. toggling an |
| 10 | item) from the route to the database and back to the HTML |
| 11 | - errors: errors are handled clearly and visibly, not swallowed |
| 12 | - comments: comments explain why where it isn't obvious, without noise |
| 13 | |
| 14 | Then an overall score from 1 to 10, and notes of at most 120 words naming |
| 15 | the strongest and weakest points. |
| 16 | |
| 17 | Reply with only this JSON object and nothing else: |
| 18 | {"naming":n,"structure":n,"traceability":n,"errors":n,"comments":n,"overall":n,"notes":"..."} |
| 19 | |