Code vs Data

tags
Software Development

Many software systems draw a distinction between "code" and "data", but this boundary is very porous. Everything on a computer is data - at some point, it's just a bunch of bits. So code is also data, in a very literal sense. The distinctive characteristic of code is that it can be executed, which only makes sense relative to a particular interpreter. Python source is code to a Python interpreter, but data to a static analysis tool.