@AussiePolitics That is incorrect, a scripting language IS a programming language. May be you are confused because javascript and scripting languages in general are not compiled, but still are programming languages. Search the wikipedia for "programming language" if you are not convinced.
@GeneticXY while people group may group scripting languages under programming languages, the technical definition of a programming of a programming language is that it is compiled, while a scripting language is interpreted by another program.
@AussiePolitics Where it says it has to be compiled to be a programming language? That's ridiculous! so for example assembler is not a programming language? what about Basic? and PHP? or Java?(which is compiled to bytecode, not native code) In principle, any programming language could be compiled or interpreted.
I see your point, and probably I'd feel I'm not "programming" if I'm making a command line script (v.g. bash), but javascript, python, ruby, php, etc are indeed programming languages!!!
@GeneticXY PHP is a server side scripting language while javascript is a client side scripting language. ruby, python and java are all COMPILED and run as independent programs.
The textbook on PHP programming published by peachpit even makes the point "programming languages such as java or C can be used to write stand-alone applications".
tell me, how many stand alone applications are written in php or javascript?
@AussiePolitics I wouldn't know a number, but it is possible.
For being fair, some people like to make a distinction between PROGRAMMING and SCRIPTING language, BY THE WAY THEY ARE USED not because of the languages themselves. In the Linux Journal Awards they tried to define the differences between them, but that didn't work so now they let readers use their own definition: google for "linuxjournal readers choice awards 2010" and scroll down to "Best Programming/Scripting Language"
@GeneticXY ok I will make it easy then: name one single program written entirely in javascript that runs by itself - ie. is not interpreted by another program. you say its hard to come up with a difference: interpreted vs compiled is just about as big a difference as you can get
@AussiePolitics I don't know about any, but so what? Why does it has to be compiled to be a PROGRAMMING language? SCRIPTING languages are a subset of PROGRAMMING languages. Yes, there are some differences, but there are much more similarities: They have syntaxes, variables, semantics, functions, statements, sentences, styles, paradigms, etc...
It's like saying Esperanto is not a language because there are no native speakers
Please check wikipedia for programming language and List of Prog. Lang.
@GeneticXY that is why it is a key difference: NO scripting languages ever run stand alone programs. php has an extension which can enable you to use it as a stand alone application but that involves a compiler. that is the key difference. the key difference is that for javascript or php to work they require another program to interpret them. they always do. java, phthon, c etc etc are programming languages that do not have this restriction.
@GeneticXY so when you see two of the biggest examples of scripting languages: php and javascript being unable to run by themselves and then you get real programming languages that can run stand alone applications - that is your difference.
@AussiePolitics google for "javascript standalone application" and "php standalone application" and you'll be surprised. Not that I agree with your "has to be compiled and stand alone" criteria, but certainly the results defeats your idea that PHP and Javascript are not prog. languages in your own grounds. As I said, in principle any programming language can be interpreted or compiled. This is my last comment on this matter, if after all this you're still not convinced, I can't help you anymore.
@GeneticXY I did a search and the 'stand alone' applications boiled down to writing an application entirely in client side javascript. that is executed in the browser and is not exactly what I would call independent.
you just announce that I should google it, that somehow defeats my idea and you dont want to talk anymore. please again I ask name a single program that has ever been written in javascript and does not require a browser to interpret it.
@AussiePolitics How old are you? I really feel I'm stuck talking with a stubborn child, arguing in circles. Isn't english your native language? Or are you just too lazy to read the Wikipedia articles I pointed you to? (scripting language, list of prog. languages, javascript) and the linux journal's?
What do you think about Wikipedia saying scripting langs. ARE programming langs. and that Javascript IS a prog lang?
What about reading the "javascript outside the browser" section in Wikipedia?
So everybody else is wrong (the Wikipedia community)?
Don't reply to me, answer these questions for you.
If you don't want to open your eyes, I can't help you, and nobody can.
Please learn to search and research and keep an open mind, or you'll never learn something new or correct your wrong ideas.
And don't ask me again to name a JS stand alone program, you just keep making a fool of yourself. READ THE WIKIPEDIA. But even if there wasn't one, JS still would be a scripting AND PROGRAMMING lang
@GeneticXY I find it amusing to be accused of immaturity by an individual who effectively said google it it proves you wrong. furthermore you lied when you said that you were sure stand alone applications had been written in javascript and yet when I asked you for a single example you could not name one. Sorry but I get my definitions from university programming textbooks on php, c# mysql etc and they ALWAYS state the difference between a scripting language and a programming language.
@AussiePolitics So if your criteria to call it PROGRAMMING language is to have it compiled (to machine code) and the run as stand alone, you should rule out Java, since it's compiled to bytecode and requires a virtual machine. Also Python is traditionally interpreted, but can be compiled with tools like Psyco. There are many "stand alone" programs in Linux written in Python and Pearl. It's also possible to make "stand alone" programs (executable files) in Ruby with jRuby or including the interpr
@GeneticXY no my criteria is has to be ABLE to do so. Again I ask, you say it is possible to write a stand alone application in javascript. please name one. if you do that I will concede you are correct.
@AussiePolitics by that standard Java also isn't a prog. lang. since it's not able to run stand alone (requires a VM). Neither C# or any other .net lang. since they compile to CIL and requiere a runtime (.net or mono in Linux).
Also from wikipedia (scripting_language):
"A scripting language, script language or extension language IS A PROGRAMMING LANGUAGE that allows... "
I didn't write the wikipedia, is the consensus of many people (most people?) and a lot of experts in the subjects...
@GeneticXY actually java is compiled into bytecode, just as c# still has to be compiled. javascript or php are never compiled. the engine reads them as is.
no-one has never written a computer program in javascript and never will precisely because it is not a programming language.
Thank you. Useful. Suggest speaking a little faster or you risk loosing your audience. Also could be a little shorter. But thanks.
ilanes13 3 months ago
i know alot of programming language its insane. And still not all. I mean its impossible!!! Offcourse you cant do them all.
system0system0 3 months ago
Great Post! This is really a big help for us. Thanks for sharing and keep posting!
chanceryford 6 months ago
Perfect!!!
joeyhcmc 11 months ago
That's helpful, but how do you build a site like youtube?
DSXmachine 1 year ago
@DSXmachine It will require combinations of different programming and scripting languages to build a site like Youtube.
ogsolution 1 year ago
@ogsolution Okay. So step 1 is?
DSXmachine 1 year ago
javascript is not a programming language. it is a scripting language. programming and scripting languages are completely different.
AussiePolitics 1 year ago
@AussiePolitics Thanks for the clarification. Yes, I should have named it "Scripting Language For Web Development"
ogsolution 1 year ago
@AussiePolitics
scripting language is a programming language
there is a variant in progamming language
one of it is scripting language
markup language like html is not a programming language
slier81 1 year ago
@AussiePolitics That is incorrect, a scripting language IS a programming language. May be you are confused because javascript and scripting languages in general are not compiled, but still are programming languages. Search the wikipedia for "programming language" if you are not convinced.
GeneticXY 7 months ago
@GeneticXY while people group may group scripting languages under programming languages, the technical definition of a programming of a programming language is that it is compiled, while a scripting language is interpreted by another program.
AussiePolitics 7 months ago
@AussiePolitics Where it says it has to be compiled to be a programming language? That's ridiculous! so for example assembler is not a programming language? what about Basic? and PHP? or Java?(which is compiled to bytecode, not native code) In principle, any programming language could be compiled or interpreted.
I see your point, and probably I'd feel I'm not "programming" if I'm making a command line script (v.g. bash), but javascript, python, ruby, php, etc are indeed programming languages!!!
GeneticXY 7 months ago
@GeneticXY PHP is a server side scripting language while javascript is a client side scripting language. ruby, python and java are all COMPILED and run as independent programs.
The textbook on PHP programming published by peachpit even makes the point "programming languages such as java or C can be used to write stand-alone applications".
tell me, how many stand alone applications are written in php or javascript?
AussiePolitics 7 months ago
@AussiePolitics I wouldn't know a number, but it is possible.
For being fair, some people like to make a distinction between PROGRAMMING and SCRIPTING language, BY THE WAY THEY ARE USED not because of the languages themselves. In the Linux Journal Awards they tried to define the differences between them, but that didn't work so now they let readers use their own definition: google for "linuxjournal readers choice awards 2010" and scroll down to "Best Programming/Scripting Language"
GeneticXY 7 months ago
@GeneticXY ok I will make it easy then: name one single program written entirely in javascript that runs by itself - ie. is not interpreted by another program. you say its hard to come up with a difference: interpreted vs compiled is just about as big a difference as you can get
AussiePolitics 7 months ago
@AussiePolitics I don't know about any, but so what? Why does it has to be compiled to be a PROGRAMMING language? SCRIPTING languages are a subset of PROGRAMMING languages. Yes, there are some differences, but there are much more similarities: They have syntaxes, variables, semantics, functions, statements, sentences, styles, paradigms, etc...
It's like saying Esperanto is not a language because there are no native speakers
Please check wikipedia for programming language and List of Prog. Lang.
GeneticXY 7 months ago
@GeneticXY that is why it is a key difference: NO scripting languages ever run stand alone programs. php has an extension which can enable you to use it as a stand alone application but that involves a compiler. that is the key difference. the key difference is that for javascript or php to work they require another program to interpret them. they always do. java, phthon, c etc etc are programming languages that do not have this restriction.
AussiePolitics 7 months ago
@GeneticXY so when you see two of the biggest examples of scripting languages: php and javascript being unable to run by themselves and then you get real programming languages that can run stand alone applications - that is your difference.
AussiePolitics 7 months ago
@AussiePolitics google for "javascript standalone application" and "php standalone application" and you'll be surprised. Not that I agree with your "has to be compiled and stand alone" criteria, but certainly the results defeats your idea that PHP and Javascript are not prog. languages in your own grounds. As I said, in principle any programming language can be interpreted or compiled. This is my last comment on this matter, if after all this you're still not convinced, I can't help you anymore.
GeneticXY 7 months ago
@GeneticXY I did a search and the 'stand alone' applications boiled down to writing an application entirely in client side javascript. that is executed in the browser and is not exactly what I would call independent.
you just announce that I should google it, that somehow defeats my idea and you dont want to talk anymore. please again I ask name a single program that has ever been written in javascript and does not require a browser to interpret it.
AussiePolitics 7 months ago
@AussiePolitics How old are you? I really feel I'm stuck talking with a stubborn child, arguing in circles. Isn't english your native language? Or are you just too lazy to read the Wikipedia articles I pointed you to? (scripting language, list of prog. languages, javascript) and the linux journal's?
What do you think about Wikipedia saying scripting langs. ARE programming langs. and that Javascript IS a prog lang?
What about reading the "javascript outside the browser" section in Wikipedia?
GeneticXY 7 months ago
So everybody else is wrong (the Wikipedia community)?
Don't reply to me, answer these questions for you.
If you don't want to open your eyes, I can't help you, and nobody can.
Please learn to search and research and keep an open mind, or you'll never learn something new or correct your wrong ideas.
And don't ask me again to name a JS stand alone program, you just keep making a fool of yourself. READ THE WIKIPEDIA. But even if there wasn't one, JS still would be a scripting AND PROGRAMMING lang
GeneticXY 7 months ago
@GeneticXY I find it amusing to be accused of immaturity by an individual who effectively said google it it proves you wrong. furthermore you lied when you said that you were sure stand alone applications had been written in javascript and yet when I asked you for a single example you could not name one. Sorry but I get my definitions from university programming textbooks on php, c# mysql etc and they ALWAYS state the difference between a scripting language and a programming language.
AussiePolitics 7 months ago
@AussiePolitics So if your criteria to call it PROGRAMMING language is to have it compiled (to machine code) and the run as stand alone, you should rule out Java, since it's compiled to bytecode and requires a virtual machine. Also Python is traditionally interpreted, but can be compiled with tools like Psyco. There are many "stand alone" programs in Linux written in Python and Pearl. It's also possible to make "stand alone" programs (executable files) in Ruby with jRuby or including the interpr
GeneticXY 7 months ago
@GeneticXY no my criteria is has to be ABLE to do so. Again I ask, you say it is possible to write a stand alone application in javascript. please name one. if you do that I will concede you are correct.
AussiePolitics 7 months ago
@AussiePolitics by that standard Java also isn't a prog. lang. since it's not able to run stand alone (requires a VM). Neither C# or any other .net lang. since they compile to CIL and requiere a runtime (.net or mono in Linux).
Also from wikipedia (scripting_language):
"A scripting language, script language or extension language IS A PROGRAMMING LANGUAGE that allows... "
I didn't write the wikipedia, is the consensus of many people (most people?) and a lot of experts in the subjects...
GeneticXY 7 months ago
@GeneticXY actually java is compiled into bytecode, just as c# still has to be compiled. javascript or php are never compiled. the engine reads them as is.
no-one has never written a computer program in javascript and never will precisely because it is not a programming language.
AussiePolitics 7 months ago
This was an awesome video....thank you very much.
webmasterqwp 2 years ago
thanks for the comment.
ogsolution 2 years ago
Thanks again for another great vid. All of this computer 'stuff' is becoming a lot less threatening.
BUTTERFLYWARIOR 2 years ago
nice tut...
Love9828 3 years ago
Thank you very much.
ogsolution 3 years ago
good video.
phayde 3 years ago
thank you
ogsolution 3 years ago