Static vs Dinamic typed languages | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Static vs Dinamic typed languages

I am not a professional programmer and I want to know what type of language I'll use if a become a professional. Can anyone tell me?

9th Oct 2017, 11:42 PM
Luis Lopes
Luis Lopes - avatar
2 Answers
+ 2
It's not that variables can't change. Variables are variable. Their types are fixed. When once a variable is a number, you cannot put text into it. That's statically typed. Also most writing isn't necessarily slower. Because modern languages can figure out the types in their own. Even C++ does it nowadays too an extent. The compiling is slower because you make the compiler type check everything. That's good because you can get some certainty that way that your program is correct. Also there are degrees. The more powerful your system is, the more the compiler must work and the longer that takes.
10th Oct 2017, 4:52 AM
1of3
1of3 - avatar
+ 1
@1of3 thanks for explanation :)
10th Oct 2017, 11:39 AM
Luis Lopes
Luis Lopes - avatar