Settings

Theme

Making inheritable objects in JavaScript without objects

skilldrick.co.uk

3 points by skilldrick · 2 comments

Reader

1 thread
erikb

Interesting read. If you wrote inheritance for js closures or a small interpreter for a DSL, I can't say for sure though.

  • skilldrickOP

    Cheers. I guess you could call it an internal DSL, but I wouldn't call it an interpreter - all it's manipulating is the arguments object, it doesn't manipulate any strings. I'm sure string manipulation isn't the only thing that identifies an interpreter, but it doesn't seem like that to me.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection