Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I've heard before that it's only "code is data" and not "data is code" since the data you manipulate will not always be code. Is this correct?

Any data that is going to be processed impacts the result of processing, so data is code, too.

That's most clearly true when data gets passed directly to an execution engine (eval, or sent to a database as SQL after some other bits get stuck onto it, etc.), but there's a perspective in which it is true generally, though not all data processed is unrestricted code.



I never thought about it this way, that's interesting.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: