DEV Community

Discussion on: Quiz: is this a programming language?

Collapse
 
crimsonmed profile image
Médéric Burlet • Edited

Once again I disagree. The naming convention when creating the Internet where very strictly chosen and regulated for some.
They are also bodies that look into making rigorous standards:

  • W3C
  • IETF they regulate the (RFC)

Its not a description of what you see but a description of what it does. This was created to make the Internet work not to have fun creating a golfing language.

I'm sorry but I don't consider tags instructions. Languages are made of tokens and yes that can be tags as that is what is parsed.

Instructions are like operations. Per the name it instructs to do something.

GO TO
LOOP
ETC

I think you forgot the most essential part of the definition. Leading to algorithms or various computation

Could you create a function for the Fibonacci sequence in HTML?

Can you calculate the square root of a number?

Can you do bitwise operations?

Not really as it is a markup language for grouping visual elements into groups.

Thread Thread
 
stereobooster profile image
stereobooster • Edited

The naming convention when creating the Internet where very strictly chosen and regulated for some.

You claim they use rigorous methodology to name languages. Can you provide a link to the document where those rules for naming languages are described?

Thread Thread
 
crimsonmed profile image
Médéric Burlet

tools.ietf.org/html/rfc1866

I'm not gonna go through all the RFC but any you can have a look and see other documents such as: Internet Official Protocol Standards

Also the link I gave you is the official proposition by Tim Berners Lee for HTML. It is clearly said in the first paragraph:

The Hypertext Markup Language (HTML) is a simple markup language used to create hypertext documents that are platform independent.
Enter fullscreen mode Exit fullscreen mode

It was clearly defined as a Markup Language not a Programming Language.

I'm also still waiting the code to my previous question on creating algorithms in HTML.

Thread Thread
 
stereobooster profile image
stereobooster

It is an RFC for HTML itself. It does not say that markup language can't be a programming language as well. We back to the argument sea lion is a lion because name says so

Thread Thread
 
crimsonmed profile image
Médéric Burlet • Edited

What the h? did you ever read the links? Since when is a markup language a programming language there's a big difference.

And why you keep ignoring the other point? Please reply to this comment with a algorithm in html for printing out fibonacci numbers.

Why is it you only read half Of what everyone is saying. And actually your sea lion example is really stupid because your looking at the common name and not the scientific name.

Sea lion = otariinae from the caniformia suborder.
Lion = pantera leo from the feliformia suborder.

Who if you look at the regulated name just like the rfc html Is not a programming language but a markup language. Even Wikipedia calls it a markup language.

If you took the time to do your research and read the rfc you would see it even references the iso that it respects. But if you don't take time to read definitions, standards and more I guess I know where you're confusion is coming from

Or maybe its out you're trying to become famous through stupidity?

Anyhow here is a list of differences between markup language and programming languages.

thecoderpedia.com/blog/is-html-a-p...

medium.com/@mohitsudan302/do-you-w...

cirdangroup.com/cirdan-blog/2017/1...

geeksforgeeks.org/difference-betwe...

STILL WAITING YOUR HTML ONLY FIBONACCI SEQUENCE

Thread Thread
 
stereobooster profile image
stereobooster

Since when is a markup language a programming language there's a big difference

Please provide a proof for this claim.

Thread Thread
 
crimsonmed profile image
Médéric Burlet

EDITED SAME LINKS as before which you didnt bother to read

STILL WAITING YOUR HTML ONLY FIBONACCI SEQUENCE

Thread Thread
 
stereobooster profile image
stereobooster • Edited

So your argument is that programming language suppose to be able to do Fibonacci numbers. Ok. But it has nothing to do with the name, right? That what I tried to explain to you. It's two different arguments

Thread Thread
 
crimsonmed profile image
Médéric Burlet

is not two different things do you even read people's comments omg

a programming language is a language where you can write instructions leading to algorithms or various computations
Enter fullscreen mode Exit fullscreen mode

Please code algorithms or perform computations with HTML

if you read the four links i added theyt say exactly the same. Let me quote it to you since it seems you can't even open a link

retar

Programming Languages involve Logical Operations, Arithmetic Operation, and many Algorithms. Whereas Markup Languages just include Tags to define the elements.
Enter fullscreen mode Exit fullscreen mode
A programming language is the proper and formal language that has been designed to allow programmers to communicate instructions to a computer. Programming language is used to create programs.

Programming language is used to transform data by creating CPU instruction that will rewrite the input data into the desired output. This is a language that encodes programs, meaning that a word in the language can be interpreted as a sequence of actions.
Enter fullscreen mode Exit fullscreen mode
 In simple terms, programming languages are set of instructions or code which tells a computer what it needs to do. So basically, we provide a logic or instruction to the computer to perform some task to get the desired output from it.
Enter fullscreen mode Exit fullscreen mode

Wikipedia cause you probably forgot to read that too:
en.wikipedia.org/wiki/Programming_...

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. 
Enter fullscreen mode Exit fullscreen mode

Algorithms, algorithms, algorithms
Maybe you don't know what that is and hence your confusion. With your lack of motivation to instruct yourself and learn new things:
From the oxford dictionary

A documented series of steps which leads to the transformation of some data. For example, in order to calculate the sum of a series of numbers a possible algorithm would involve repeatedly adding the numbers to be summed to a running total. Computer programs are a manifestation of algorithms which allow them to be executed very quickly.
Enter fullscreen mode Exit fullscreen mode

oxfordreference.com/view/10.1093/o...

And for the sake of it the Cambridge one:

a set of mathematical instructions or rules that, especially if given to a computer, will help to calculate an answer to a problem.
Enter fullscreen mode Exit fullscreen mode

dictionary.cambridge.org/dictionar...

So please do code a nice efficient algorithm in HTML or a Mathematical Operation I gave you examples earlier but you ignored them like half the texts that don't go in your direction

So i'll defo accept HTML as a Programming Language the day it is renamed HTPL or the day someone makes a proper algorithm in HTML only.

Per the official body that handles HTML development:

HTML is the World Wide Web's core markup language. Originally, HTML was primarily designed as a language for semantically describing scientific documents.
Enter fullscreen mode Exit fullscreen mode

html.spec.whatwg.org/

Still no algorithm planned for HTML6 yet though but who knows maybe 7.

Anyhow as Albert Einstein once said:

Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.      
Enter fullscreen mode Exit fullscreen mode

I guess today I realized how true that statement can be.

Good luck on your future HTML algorithm if you ever manage.

Peace out

blocked

Thread Thread
 
stereobooster profile image
stereobooster

Einstein probably didn't say that quoteinvestigator.com/2010/05/04/u...