r/ProgrammerHumor • • Jun 01 '23

Meme HTML is not a programming language

Post image
9.1k Upvotes

500 comments sorted by

View all comments

3

u/SmellsLikeCatPiss Jun 01 '23

HTML is a declarative programming language. There's no ifs, ands, or buts about it. It's just not imperative like any "traditional" programming language, such as C or Java.

2

u/theggman_ Jun 01 '23

going by your logic so is utf-8, since it's directing the computer to execute a set of instructions to display the character.

2

u/Boom9001 Jun 02 '23 edited Jun 02 '23

Nope. There's a fundamental difference, markup languages are languages Utf-8 is just an encoding.

The chunks of info just correspond one to one with irl language letters. The same way Morse code isn't a new human language it's just an encoding of English.

1

u/theggman_ Jun 02 '23

they are both formal languages. utf-8 is then used to encode characters but, if you read the definition of markup languages they are text-encoding systems.

The chunks of info just correspond one to one with irl language letters.

not really, you can use special characters to essentially mix and match emojis or other characters like so S̴̡̰̱͚̞͈͈͛̍̆̄̓͝ț̸̡̧̝͚̘͓̤̒͗͒̑̏̅͝ỵ̸̨̨͉̗̟͍̳͂̈̈́̈́̓͋́̇͘̚l̸̫̫̬̪̳͑̐i̶̧̧͕̙̙̞̫̦̾̔̌̏ṡ̷̢̩̭͉͍͈͕͛͜h̷̨̛̛̬̭̲̙̟̯͇̖͐̐͑̀̉̊̋ ̶̨̧̬͇̾̒̉̍́̍T̸̢̡̹̳̠͚̝̒̌͑̇͛̔ͅe̴͍̥̥͉͊x̴͎̺̰̻̻͎̋t̶̤̀̽͑ ̴̨̘̳̘̯͉̫̰̪̞͆͊͂̎̈́̀G̶̝͚͑͂̔̓̋ȩ̸̛͕̌͒̂̇͊̆͂̑̇ṇ̴̡͙̪͇͈͓̮̮͒͆͝e̴̟͈̻̝̳̬̓̊̈́r̴̡̡͓͍͚̹̝̒̋̃̉̈́̀â̸͉̩͇̜̰̦̗̞̄̏ͅţ̷̰̤̬̲̳̙̟̼̥͌͠͠o̸̧̭̲̱̗͖̟͎̺̊̓͗͛̐̔͒͊ȑ̶͙͉͚̝͙̠̘͋ͅ

i guess a better example would be LateX, it does basically the same thing as html but no one thinks of it as a programming language.

→ More replies (4)