Live data from Hacker News

What Is Code? (2015)

bloomberg.com

11–20 of 54 posts

Re: What Is Code? (2015)

#11

A great all around introduction to programming. It poses an interesting question which I think it doesn't really answer well: "What Is the Relationship Between Code and Data?" I can easily understand what a "program" is. It is a set of instructions we give to the computer for it to do something we want it to do. But what is "data"?

[deleted]

Re: What Is Code? (2015)

#13

A great all around introduction to programming. It poses an interesting question which I think it doesn't really answer well: "What Is the Relationship Between Code and Data?" I can easily understand what a "program" is. It is a set of instructions we give to the computer for it to do something we want it to do. But what is "data"?

> But what is "data"?

A set of instruction activators we give the computer

Oh and that easily understood set of instructions are also data

Re: What Is Code? (2015)

#14

A great all around introduction to programming. It poses an interesting question which I think it doesn't really answer well: "What Is the Relationship Between Code and Data?" I can easily understand what a "program" is. It is a set of instructions we give to the computer for it to do something we want it to do. But what is "data"?

Any information (including code) that can be stored by the abstract machine under consideration.

Re: What Is Code? (2015)

#15

A great all around introduction to programming. It poses an interesting question which I think it doesn't really answer well: "What Is the Relationship Between Code and Data?" I can easily understand what a "program" is. It is a set of instructions we give to the computer for it to do something we want it to do. But what is "data"?

Data are instructions for the computer interpreted in the context of a program. Or no program in the case of instructions which can be interpreted directly by the computer.

That is, data are programs, programs are data. Just need to establish the environment in which to execute/process them.

Re: What Is Code? (2015)

#16

A great all around introduction to programming. It poses an interesting question which I think it doesn't really answer well: "What Is the Relationship Between Code and Data?" I can easily understand what a "program" is. It is a set of instructions we give to the computer for it to do something we want it to do. But what is "data"?

The Harvard architecture makes the separation clearer:

https://en.wikipedia.org/wiki/Harvard_architecture

Re: What Is Code? (2015)

#18

A great all around introduction to programming. It poses an interesting question which I think it doesn't really answer well: "What Is the Relationship Between Code and Data?" I can easily understand what a "program" is. It is a set of instructions we give to the computer for it to do something we want it to do. But what is "data"?

> But what is "data"?

It's a sequence of bits. You take reality (or whatever you want) and represent it as bits. That sequence of bits is called "data".

Re: What Is Code? (2015)

#19

A great all around introduction to programming. It poses an interesting question which I think it doesn't really answer well: "What Is the Relationship Between Code and Data?" I can easily understand what a "program" is. It is a set of instructions we give to the computer for it to do something we want it to do. But what is "data"?

I would say that data defines as something that might convey information, might in the sense that there are one or more interpretations of it that are meaningful to something. This sentence has plenty of open ended terms, however.

Code is data that can be executed, provided that there is a something that offers an interpretation of it. It think we must claim that this interpretation is meaningful to something.

Executability is a semantic in the context of interpretation, which ties it all back into what data is again. Something something Apply/Eval.

So more open ended terms.

Post reply on HN