>devroast
leaderboard
$

paste your code. get roasted.

// drop your code below and we'll rate it — brutally honest or full roast mode

Plain textautoloading
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function calculateTotal(items) {
  var total = 0;

  for (var i = 0; i < items.length; i++) {
    total = total + items[i].price;
  }

  if (total > 100) {
    var discount = total * 0.1;
    total = total - discount;
  }

  // TODO: handle tax calculation
  // TODO: handle currency conversion

  return total;
}
313/2,000chars
roast mode

// maximum sarcasm enabled

0 codes roasted

.

avg score: 0.0/10

#1
score:
12345678
#2
score:
12345678
#3
score:
12345678
//

shame_leaderboard

$ view_all >>

// the worst code on the internet, ranked by shame

no roasts yet. be the first one to ship something questionable.

showing top 0 of 0 view full leaderboard >>