Live data from Hacker News

What Is Code? (2015)

bloomberg.com

21–30 of 54 posts

Re: What Is Code? (2015)

#21

Given that we probably all live in a virtual simulation of some sort, isn't everything code? A more interesting question would be, "what isn't code?"

I'm saving this comment so that next time someone uses "begging the question" incorrectly, I can show them what it really means.

Re: What Is Code? (2015)

#22
post #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".

In the computer science world yes. But the word also exists outside of that context (and did so long before computers).

Data is the plural of datum. A datum is a piece of information. Of course not any piece information is automatically a datum, as that noun implies a certain structured nature or a normative perspective on that piece of information.

Certain information only became commonplace because it became a datum first. Before using family names as an identifier many people had no family names, they were identified by their first name and by the places they grew up in.

Re: What Is Code? (2015)

#23

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"?

If code is a relationship between the next state and the current state, then this state is data.

Re: What Is Code? (2015)

#24

Given that we probably all live in a virtual simulation of some sort, isn't everything code? A more interesting question would be, "what isn't code?"

The argument that we likely live in a simulation is similar to the the cosmological argument that allegedly proves the existence of god; and it rests on the same unsound assumption, namely that the existence of entities in reality follows from the rational arguments that your mind can imagine about those entities.

Sound approaches to knowledge must operate in the opposite direction, drawing insights from observation of phenomena existing in the world.

Assuming that the world is as we deduce it to be, without then proceeding to check that the world behaves in accordance with our deduction, is a failure that delayed the advance of knowledge until the use of the scientific method became widespread.

Re: What Is Code? (2015)

#25

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"?

There is no difference between code and data. Data is code. Data is code that retains its identity.

Re: What Is Code? (2015)

#26
This is a somewhat myopic and outdated description of what "code" or "software" is. I'm writing an article on this, but software is a much broader idea and domain than just getting computers to do something. At a minimum, it includes getting a computer to do something, communicating between humans and not humans and computers, and encoding a domain. All this adds up to software being "executable knowledge", which makes it far more powerful than thinking of it as just bits executing on a machine. Thinking of it this way also highlights all the problems with software, because the process of system design and encoding knowledge is downright hard and not something humans excel at. Getting a computer to do something is rarely the hard part aside from specific instances where pure performance is necessary.

It isn't surprising to me that the best software developers I have met have been those who either had no computer science degree or got it after having some degree or major interest in another field, typically a liberal arts or science field. Liberal arts are actually the study of systems in disguise because of the need to connect together various ideas, events, etc. that do not necessarily have clear delineations or relationships.

Re: What Is Code? (2015)

#27

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"?

and there you have an unanswerable question! :-) at an atomic level in computing, as others have said, it's a stream of ones and zeroes.. after that everything else is implementation, i.e how to interpret, use, store etc. In fact it's one of the "bug bears" in computing that there are so many "data format standards" (used loosely not definitionally)..

or the age old joke: "The good thing about (data) standards is there are so many of them!"

Re: What Is Code? (2015)

#28
I didn't really read beyond that reflection:

> This is real. A Scrum Master in ninja socks has come into your office and said, “We’ve got to budget for apps.” Should it all go pear-shaped, his career will be just fine.

It's funny how organizations manage not to fall apart with so many people with so different motivations. For example, an SWE can despair in 2022 because they work on Openstack bugfixing or on mainframe JCL2 batch jobs, but here this exec worries about his position being undermined by some software project.

Re: What Is Code? (2015)

#29
post #26

This is a somewhat myopic and outdated description of what "code" or "software" is. I'm writing an article on this, but software is a much broader idea and domain than just getting computers to do something. At a minimum, it includes getting a computer to do something, communicating between humans and not humans and computers, and encoding a domain. All this adds up to software being "executable knowledge", which mak…

Are you equating "computer science" with "coding"? Because it's really not. CS studies systems, complexity, requirements, domain knowledge, etc.

I'm not arguing against people from other fields bringing valuable insight; I'm disputing that CS doesn't also involve the study of complex heterogeneous systems or that it is about "coding".

Seems like you're describing a bootcamp or coding school instead.

Post reply on HN