0

Dynamic data type

A few days ago I read (In other site) about dynamic data type... so... I want to know What kind of issues can i have using a dynamic variable instead of any other data type?

29th Mar 2017, 6:02 PM
EarthKongol
EarthKongol - avatar
2 Answers
+ 1
well, mostly the big issue with dynamic allocation is the possibility of memory leak or not destroying unused memory (garbage collection). Ideally, dynamic allocation uses memory more efficiently and reduces initial load times and overhead. But if done incorrectly, it will eat memory and bog down the system or crash.
29th Mar 2017, 9:07 PM
Ethan
+ 1
I re-read your question and I don't know if I understood what you were asking right, did you mean dynamic allocation or the keyword "dynamic" as in a data type that can change the type of object based on the context?
29th Mar 2017, 9:12 PM
Ethan