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 comments

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.

1

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

While I acknowledge I was wrong to say irl characters because there are emoji and weird characters. I believe my point still remains correct that it's just a direct 1 to 1 for bits to symbol. It has no syntax to it. Just like Morse code has more combination of dot/dash than there are English letters, they use some for punctuation or special symbols. No character changes meaning of characters coming before or after. It's just a table of 255 symbols and a number that points to them. No more than a decoder ring in a cereal box.

Markup languages however are languages where things coming before and after can change the meaning of a character or line. They are languages. They tell machines to do things. They are used in programming. And even an average person looking at them would see it as computer code. They are programming languages as far as I'm concerned.

For your last point I'd personally be fine calling latex a programming language. You can get pretty nuts with it. I can elaborate on this further if needed.

→ More replies (3)