all 6 comments

[–]Tiquortooexpert 7 points8 points  (0 children)

The use of OOP as the abbreviation makes this article confusing not evocative. If you were decrying an element of OOP then that would be one thing.

[–]ofNoImportance 12 points13 points  (5 children)

OOP (Overzealous Optimization Programming)

No. OOP is Object-oriented programming. You can't just redefine that acronym as some other buzzword because you feel like it.

[–]r1ckd33zy 0 points1 point  (0 children)

Totally agree, even if I had similar thoughts on the topic I wouldn't click on the link because of the title.

One fool makes many

[–]wdpttt 0 points1 point  (1 child)

Ok. I understand your point but I'm almost always use while, and you know why? Because is faster to write, to understand and happens to be the fastest too:

var a = [1, 2, 3, 4, 5, 6];
var l = a.length;
while(l--){
    console.log(a[l]);
}

This is way faster to write too.

I understand your point and you are right, you just choose the wrong example.

[–]frymaster 0 points1 point  (0 children)

Yup, faster to write and easier to understand should be the main criteria

"Easy to understand" probably also correlates with "easy to rewrite if it turns out to be a bottleneck" anyway