Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The behind the scenes writeup is good: http://www.cuttherope.ie/dev/

Although the senior developer says in the video: "Objective C is object oriented, has classes and structs. And those things just don't exist in JavaScript." .. Well, except object orientation, of course ;-)



A good writeup. A pity more of the source wasn't released (say, excluding the game physics and logic); I'd be keen to see how they structured their code and it'd be a great "cookbook" reference for somebody new to building HTML5 games. (At least the minified source is there.)


Are you saying that you think Javascript is object oriented because it can create an Object and enclosed functions? I have always been taught while we can make it look like OOP, it is not because it does not have inheritance through classes AS PART OF THE LANGUAGE.


JavaScript is object oriented but it gets the inheritance from prototypes instead of classes. Prototypes are very powerful, you can implement a class system in JavaScript if you want to but the reverse is not true.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: