News for hackers. Stuff that matters.
Re:What We Learned From 40 Female YC Founders by vacri on Monday November 24, 2014 @03:23PM (#8654534)
Only if you consider computers to be people. Human languages are for communicating with humans. Programming languages are for communicating with computers.

For example, this week I've been hanging out on a couple of open-source project IRC channels. People aren't talking to each other in Python or Java on those channels.

Re:What We Learned From 40 Female YC Founders by juliangregorian on Monday November 24, 2014 @06:27PM (#8655334)
"Programs must be written for people to read, and only incidentally for machines to execute." --SICP
Re:What We Learned From 40 Female YC Founders by dragonwriter on Monday November 24, 2014 @04:34PM (#8654866)
> Programming languages are for communicating with computers.

Machine code of the lowest level that exist for a particular machine is for communicating with computers. All programming languages at higher levels than that exist to improve communication with humans (many of them of other purposes as well, but all of them, relative to machine code, include communicating with humans as one of their motivating purposes for existing.)

> For example, this week I've been hanging out on a couple of open-source project IRC channels. People aren't talking to each other in Python or Java on those channels.

That may be the case for those channels, but there's lots of places -- even outside of the programs designed to executed, where the source code is definitely used for communicating with humans, particularly future developers on the same code base -- where programming languages are used for human communication. I mean, that's the whole reason that HN has a code context in comments.

Re:What We Learned From 40 Female YC Founders by bennyg on Monday November 24, 2014 @04:40PM (#8654898)
Natural language's main purpose is human-to-human communication.

Programming language's main purpose is not.

This is a weird semantic argument, but I think you understand the parent's point.

Re:What We Learned From 40 Female YC Founders by dragonwriter on Monday November 24, 2014 @05:10PM (#8655021)
> Natural language's main purpose is human-to-human communication.

Agreed.

> Programming language's main purpose is not.

For languages other than raw machine code, the main purpose that they exist is human-to-human communication. A constraint that they face is the need to be able to be reducable to machine code to also support human-machine communication, but other than human-to-human communication (including time-shifted one-way communication to the future of the same human that initially created a work), there is no reason for them to exist at all.

> I think you understand the parent's point.

Sure, I understand the point. I'm also explicitly disagreeing with it.

Re:What We Learned From 40 Female YC Founders by vacri on Monday November 24, 2014 @05:33PM (#8655107)
For languages other than raw machine code, the main purpose that they exist is human-to-human communication.

If this were the case, then write-once software would be done in machine code. Instead, the 'constraint' you mention is the main purpose of programming languages.

Re:What We Learned From 40 Female YC Founders by BrandonM on Monday November 24, 2014 @04:16PM (#8654784)
Programming languages are absolutely for communicating with humans. Source comments are just one trivial proof of that.
Re:What We Learned From 40 Female YC Founders by vacri on Monday November 24, 2014 @05:28PM (#8655095)
Your trivial proof is "this thing that is explicitly not part of the language"? The whole point of comments is to say "these next characters are not part of language -foo-, so don't compile/interpret them".

And if you notice, comments are written in a 'traditional' human language, usually English.

Re:What We Learned From 40 Female YC Founders by eah13 on Monday November 24, 2014 @05:33PM (#8655110)
if code wasn't a human language we'd write it in binary, straight to disk.
Re:What We Learned From 40 Female YC Founders by vacri on Monday November 24, 2014 @07:04PM (#8655512)
I can see my belt, but that doesn't mean the purpose of my belt is to be seen. You're twisting my original comment to say something it didn't say.