Problems with automatic variable types? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Problems with automatic variable types?

So I am looking at these data types in PHP and I think it is pretty cool we don't have to worry about declaring the data type for each variable and that the system will automatically make it the correct type. However, at the same time I am thinking, well now I have a lot less control. Like an automatic and a manual car I guess. What are your thoughts?

25th Jan 2018, 1:19 PM
Simon
Simon - avatar
3 Answers
+ 4
I like manual. It gives more control, makes the code more readable, and also it is more efficient. It runs faster and takes less memory.
25th Jan 2018, 1:26 PM
Jacob Pembleton
Jacob Pembleton - avatar
0
I'm looking for someone who can teach me Java script
26th Jan 2018, 12:19 PM
Omari Franz
Omari Franz - avatar
0
Welcome to Sololearn! DRC arguably ranks far behind as far as programming is concerned. They are crippled with the French language, which is no IT-conducive. The best French-speaking developers in Canada, France and Belgium are so because they learned English. Your being here is already a big step. That said, you may try combining Sololearn and other resources on web, such as www.w3schools.com/js, www.laracasts.com, etc. As far as JS is concerned, frankly speaking, if you cannot learn/self-teach with what is available online, then you should consider reviewing your ambitions. Good luck!
27th Jan 2018, 6:33 PM
Zinc
Zinc - avatar