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-03 12:23

>>31
True OOP is about objects. Simple, huh? Even your peabrain could feasibly get this without asking stupid questions.
Try redefining an object at runtime in C++/Java/C#, like add new methods to it. Class tyranny is exactly why these languages are COP and not OOP. In Javascript, you are free of class tyranny as classes don't exist, and objects roam and mutate freely, which is why it is closer to Smalltalk and the actual OOP paradigm.

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