r/ProgrammerHumor • • Jun 01 '23

Meme HTML is not a programming language

Post image
9.1k Upvotes

500 comments sorted by

View all comments

Show parent comment

9

u/[deleted] Jun 01 '23

[removed] — view removed comment

16

u/more_magic_mike Jun 01 '23

In that definition then HTML is also a programming langauge. It is a set of grammatical rules for instructing a computer to perform the task of displaying a web page correctly.

2

u/suvlub Jun 01 '23 edited Jun 02 '23

I would argue there is a difference between data and instructions, and HTML falls firmly on the side of data while SQL falls on the side of instructions. HTML is a static description of a specific page/layout, not too unlike, say, PDF or JPG, just more human-readable. SQL is set of instructions you execute against a database and it produces various results or even effects a change.

4

u/DontListenToMe33 Jun 01 '23

If you’re using SQL to write programs, then something is amiss. It’s meant to be used to query and update databases, not to be a calculator or something like that.

8

u/Twombls Jun 01 '23

Ive seen and worked on 1000+ line long sqls before. In the olden days people used to do actual business logic with it. Its considered bad practice now. But its still a programming language.

6

u/DontListenToMe33 Jun 01 '23

Not getting sucked into this debate. No thank you.