Amarel wrote:PHP is a programming language because are functions.
Thats the worst statement ever that doesn't make sense.
PHP is mainly Server Side Scripting
PHP = Scripting
http://en.wikipedia.org/wiki/List_of_paradoxesbart416 wrote:Amarel wrote:PHP is a programming language because are functions.
Thats the worst statement ever that doesn't make sense.
PHP is mainly Server Side Scripting
PHP = Scripting

Sometimes I get angry at other people's superior methods and write Makefiles to call Perl scripts to compile my own homebrew jibberish into PHP code. Does that make my jibberish a "programming language" and PHP a "scripting language", like machine code? Maybe, but I never was very good at logic.

selket wrote:Sometimes I get angry at other people's superior methods and write Makefiles to call Perl scripts to compile my own homebrew jibberish into PHP code. Does that make my jibberish a "programming language" and PHP a "scripting language", like machine code? Maybe, but I never was very good at logic.
Yes. Your Jiberish is a programming language, you wrote a Your Jiberish compiler in Perl, and php is is a tokenized executable.
Therefore:
Your Jiberish = programming language
Perl = compiler
gcc = compiler
gcc is written in c
Perl is written in c
php is written in c
c was written in fortran
I had a point but then I lost it.

Actually you could say, C is written in Cbart416 wrote:C isn't written in fortran
Thats an even worse statement
C isn't written in anything.


De Kus wrote:Imho would be a scripting language one that is directly interpreted and not compiled into bytecode. Since PHP is first compiled into bytecode (btw. like most of the other "scripting languages" like perl, tcl, etc. too) and then executed, so you should be able to savely call it a programming language.

There's a code tag if that helps. Sometimes it makes everything neatly line up.sigchld wrote:i cant make ascii diagrams here lol
Coding
|
+- Programming
| |
| +- I love ASCII
|
+- Scripting
|
+- Downloading porn
(/(/
('.')
`(__)'


De Kus wrote:Actually you could say, C is written in Cbart416 wrote:C isn't written in fortran
Thats an even worse statement
C isn't written in anything.. At least glibc which is afaik the core of C used by GCC is mainly based on C and probably some assembler.
@Topic:
you can, as you can see, debate on that for hours. It depends on the end of the definiton of scripting and programming language.
Imho would be a scripting language one that is directly interpreted and not compiled into bytecode. Since PHP is first compiled into bytecode (btw. like most of the other "scripting languages" like perl, tcl, etc. too) and then executed, so you should be able to savely call it a programming language.
The initial development of C occurred at AT&T Bell Labs between 1969 and 1973; according to Ritchie, the most creative period occurred in 1972. It was named "C" because many of its features were derived from an earlier language called "B." Accounts differ regarding the origins of the name "B": Ken Thompson credits it as being a stripped down version of the BCPL programming language, but he had also created a language called Bon in honor of his wife Bonnie.

Users browsing this forum: No registered users and 1 guest