loading...
Cover image for What is a programming language ?

What is a programming language ?

josiasaurel profile image Josias Aurel ・1 min read

So what is a programming language ?
Yeah, the title asks the same question

Well, according to Wikipedia, "A programming language is a formal language comprising a set of instructions that produce various kinds of output. Programming languages are used in computer programming to implement algorithms. Most programming languages consist of instructions for computers."

That sounds straight but there is still a confusion going on - and I am going to answer this

⚠️This is somewhat opinionated at a point but I hope you get the idea

Is HTML a programming language ?

Yes. HTML is a Programming language.

Why ?

You can think of a Programming language as that set of logical instructions that you feed to a computer to carry out a task which the computer produces various kinds of output. So what should you get from this ? See, I made use of the term logical. But I also said (and according to Wikipedia), to produce various kinds of output. So yeah :

  • HTML is a programming language but as the name goes, it's a markup language
  • CSS is a programming language, it's a stylesheet language
  • XML is a programming language, it's a Markup language too

And you can name all the rest.

Is this confusion settled ? You can make use of the comment box 👇

Discussion

pic
Editor guide