carlos / todomvc-bakeoff Public

Clone
git clone https://amadan.net/carlos/todomvc-bakeoff

Plain git — no account needed to clone.

Download

Download this file

Below is the complete source of a small web app (a server-rendered TodoMVC with a little JavaScript), written in {LANGUAGE}. Judge how readable it is for an experienced developer who knows {LANGUAGE} but has never seen this code. Judge the code, not the choice of language.

Score each from 1 (poor) to 5 (excellent):

  • naming: names say what things are and do
  • structure: files and functions are organised so you can find things
  • traceability: how easily you can follow one request (e.g. toggling an item) from the route to the database and back to the HTML
  • errors: errors are handled clearly and visibly, not swallowed
  • comments: comments explain why where it isn't obvious, without noise

Then an overall score from 1 to 10, and notes of at most 120 words naming the strongest and weakest points.

Reply with only this JSON object and nothing else: {"naming":n,"structure":n,"traceability":n,"errors":n,"comments":n,"overall":n,"notes":"..."}