Hacker News new | ask | show | jobs
by krick 4239 days ago
Actually functions or array being objects internally has nothing to do with "object-oriented" as style of writing code. Here it is about style, which is obviously dictated by Processing (and thus Proseccing.js) being ideologically object-oriented. So, well, yeah, it is quite more object-oriented than "proper" code in js, although I don't see why it is such a problem for the person you relply to.
1 comments

Well actually it does. Every time you do an someArray.push(val), that's "object oriented as a style of writing code".

If you're referring to the style in the article (ie the Java code), well that's classical object oriented.