Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

J-expressions make Javascript the acceptable Lisp

Name: Anonymous 2016-11-25 13:12

The consistent implementation of key enumeration order of objects in Javascript engines allows us to write specifications of composeable computations using generic JSON-serializable notation that we can call “J-expressions”.

{opname: main_parameter,
keyword1: value1,
keyword2: value2,
...}


J-expressions, in combination with functions that implement what the operation named opname is supposed to do, are then a systematic way to approach DSL construction within Javascript. The notation is as expressive as s-expressions.

Name: Anonymous 2016-12-04 12:18

>>38
What if you need to add functionality to existing objects, what do you do? Stop the runtime, edit code, recompile and run it again? That's not the OOP way. The OOP way is to never stop the runtime (save it to an image if you need), adding new message handlers or modifying old ones on live objects.
I've never heard this in any textbook I've read about OOP. Are you sure this is OOP because what I described about OOP is the lesson that I've learned about it.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List