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”.
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:
Anonymous2016-12-04 13:11
>>39 And if you haven't heard that Smalltalk or Common Lisp are image-based, if the only concept of OOP you have is the statically-compiled crap, well.. then you have no idea of OOP, congratulations!
If the supposedly true OOP is about adding methods and members to objects during runtime for no fucking reason, I'd rather stay with COP and actually know what each object has.
Name:
Anonymous2016-12-04 15:36
>>42 That's because you're a static bitch who can't handle dynamicity.
Name:
Anonymous2016-12-04 21:36
>>42 That's fine today, but what about when you want to send similar, but different, objects through your old programs?
Name:
Anonymous2016-12-04 23:41
>>40 You're an authority on OOP based on what qualification? Have you written a textbook or otherwise taught a lecture about this in an accredited course?
Name:
Anonymous2016-12-05 0:07
You're an authority on OOP based on what qualification? Have you written a textbook or otherwise taught a lecture about this in an accredited course? authority
kek Authority is a useless concept.
Name:
Anonymous2016-12-05 1:16
>>46 Authority is earned based on either pioneering work that advances the state of art.
there's nothing in the definition of OOP that necessitates it being either static or dynamic. classes and prototypes are different interpretations of the same paradigm which in turn makes class-based languages different from prototype-based ones but at a higher level of abstraction, the underlying concepts and goals are similar.
>>33 XML can represent any tree structure so obviously it can represent any Lisp program. this doesn't mean XML makes Java the acceptable Lisp. with some creative thinking, you can also use it to represent programs in other languages: