What are the benefits of a dynamically typed language, when compared to a strongly typed language like C# or Java, and how would this help in the context of web development? What would make a dynamically typed language so attractive? Or, does the popularity of PHP have more to do with it being free?
Okay, I think I better give a little more background to get more meaningful answers, because I am not wanting a flame war.
Getting into PHP would be nice. I think that Visual Studio has spoiled me - but again Eclipse is also equally spoiling.
It would be nice to have an answer from someone who has experience developing both under PHP and .NET.
My main objections to PHP are the amount of stuff it puts into core (rather then organising things into optional namespaces) and the inconsistency it has with argument order and function naming conventions.
Wouldn't it be nicer using a strongly typed language like C# or java?
That is somewhat subjective. I've talked to people who love strong typing and people who hate it.
So I wonder why PHP is still so attractive?
- Hosting is easy to find
- Upload a script and go - very low barrier to entry
- Lots of cheap PHP developers out there
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki