Hacker News new | ask | show | jobs
by telent 4886 days ago
> there's no semantic distinction between code and data

I struggle to understand how this can be true, and I say that as a Lisper (spiritually if not currently), because 'this data does something meaningful when interpreted by a computer' is exactly a semantic distinction from 'this other data doesn't'

2 comments

What is the semantic difference between data which does nothing meaningful and lisp code that does nothing meaningful?

Or to be Wittgensteinian about it, point to the part of a datum which is the meaning.

I quite like my code separated from my data.

Being able to open up a word processing document without it being able to execute arbitrary code on my computer is one of the many benefits.

Oh, wait, Microsoft Word macros...