News for hackers. Stuff that matters.
Re:Go at SoundCloud by Symmetry on Tuesday July 24, 2012 @10:55AM (#4285918)
It got out of hand, but it's still a rather nice paradigm if you're actually simulating a system or designing a GUI. Teaching it as the One True Paradigm is certainly bad, but it certainly has its uses.
Re:Go at SoundCloud by tomp on Tuesday July 24, 2012 @12:20PM (#4286316)
> designing a GUI

Not really. HTML/CSS/JavaScript combination is not really OO, but works really really well.

In general, I think that any "programming language" for GUI is a fail - we need to develop a declarative approach to GUI (like HTML/CSS, but with more features (e.g. effects) and more emphasis on Application Development (e.g. it's still really hard to create a photoshop-like interface in HTML), less on text presentation).

Re:Go at SoundCloud by exDM69 on Tuesday July 24, 2012 @01:07PM (#4286625)
Related: http://www.youtube.com/watch?v=4moyKUHApq4

An interesting approach to declarative GUI programming from Adobe.

Re:Go at SoundCloud by barrkel on Tuesday July 24, 2012 @04:07PM (#4287673)
HTML kind of sucks as a GUI though. You have to work really really hard with Javascript to make it work semi-well.

HTML+HTTP works really well as a way to scale up client / server GUI over a high latency / low bandwidth network. That's its strong point; not that it makes for a good UI in terms of human factors.

Re:Go at SoundCloud by mseepgood on Tuesday July 24, 2012 @01:26PM (#4286779)
Who told you that JavaScript was "not really OO"?
Re:Go at SoundCloud by JonnieCache on Tuesday July 24, 2012 @07:00PM (#4288511)
It doesn't have classes or inheritance.
Re:Go at SoundCloud by jvm on Tuesday July 24, 2012 @11:20PM (#4289200)
You don't count this as inheritance? Also, classes aren't required for OOP.

    function Parent() {
        // somestuff
    }
    function Child() {
        Parent.call(this);
    }
    Child.prototype = new Parent();
    Child.prototype.constructor = Child
Re:Go at SoundCloud by JonnieCache on Wednesday July 25, 2012 @03:48AM (#4289857)
I call that prototypical construction. The point is, it's hardly java.
Re:Go at SoundCloud by foodoo on Wednesday July 25, 2012 @04:49AM (#4290007)
Neither classes nor inheritance are necessary for OOP. A good read on this topic: http://wcook.blogspot.de/2012/07/proposal-for-simplified-mod...

Btw, you can also do classes with JavaScript: http://mootools.net/docs/core/Class/Class

JavaScript's prototype-based OOP is a superset of class-based OOP.