8
Comments
  • 3
    *Transcribes sport commentators*
  • 1
    // For loop that uses the increment
    // value i to access all values in the
    // variable somearray and pushes their
    // value plus 2
    // into newarray
    // this also could’ve been
    // accomplished with a single line
    // array.map function
    // but all the devs that comment like this
    // are incompetent monkeys

    for (let i = 0; i < somearray.length; i++) {
    newarray.push(somearray[i] + 2);
    }
  • 1
    Sometimes the code explains the comments better.
  • 1
    Once I commented every line of code for an university assignment because the professor complained about lack of comments in a previous one. It was really stupid.
Add Comment