But me and my friend were having a friendly argument and found this board and thought that maybe you guys could settle this debate for us: What is the difference between an algorithm and a programming language? I've always thought that programming languages solve algorithms, but my friend thinks programming languages construct algorithms. So yeah, which is it?
I bet OP's the guy who was poasting the sex vs programming questions.
Name:
Anonymous2010-04-24 8:09
>>4
I thought that an algorithm was something that you need to do and a programming language could solve your problem by doing it, with properly written code of course.
Name:
Anonymous2010-04-24 8:10
>>5
No, not me. This is the first time ive ever been here.
Name:
Anonymous2010-04-24 8:11
Algorithms are independent of language, guys. Jeez.
Algorithm: a precise rule (or set of rules) specifying how to solve a particular problem.
Programming language: a language used to communicate programs and algorithms intended to be readable to a human reader as well interpreted by computer.
When we speak or write, we use a spoken language to communicate our thoughts. Programmers use programming languages to communicate algorithms to other programmers as well as the computer.
Name:
Anonymous2010-04-24 9:12
>>1
I strongly believe that the word you should have used is relationship instead of difference.
Name:
Anonymous2010-04-24 15:04
Programming languages are the tools that we use to implement algorithms.