News for hackers. Stuff that matters.
Re:Are dynamic languages going to replace static languages? ... by simiones on Wednesday August 04, 2021 @09:41AM (#28060891)
Unlike most languages, Lisp defines how strings can be transformed to Lisp ASTs (s-expressions). In Scheme (which doesn't allow reader macros) this is a safe operation: you can read untrusted input without worry.

By contrast, most other languages only have eval() - which takes a string and parses and executes it as code. In Lisp, eval() takes a Lisp list object and executes that.

Re:Are dynamic languages going to replace static languages? ... by draegtun on Tuesday August 17, 2021 @08:44AM (#28209221)
Ditto for Rebol & Red.

For eg.

  >> code: load "foreach n [1 2 3 4] [print n * 2]"
  == [foreach n [1 2 3 4] [print n * 2]
  ]

  >> type? code
  == block!

  >> do code
  2
  4
  6
  8