Web-Programmers and Programmers
I am in the middle of a school project where we are making a dynamic webpage using HTML, CSS, PHP and a dash of Javascript. Some of the languages has caused hours of frustration and anxiety as things does not behave logical. It is easy to see that these are from two clearly different worlds.
Although PHP is in fact the language I learned before C#, it is not a language I like. Unlike C#, it is a weak-type language which means it does not really care about the type of your objects. Conversion is automatically made and you don't need to worry if one variable is used as two different types. Imagine if you had a box where you could store values in. In PHP, the language doesn't care what box it is as long as there is a box. In strong-type languages like C++, the language requires a special box for integers, one for character and another one for decimal numbers. PHP is not the only weak-type language. Javascript is also a weak-type language and C# is slowly coming after. So why is this such a big deal? Wouldn't types be one thing less to worry about?