CS 367 Programming LanguagesLesson 3 Problem Set QuestionsChapter 52. What are the obvious advantages and disadvantages of having no types in a language?The obvious disadvantages of not having any types are that the programmer would be required to create his/her own functions to define the “type” of variable that is required. On the other hand, this can also be advantageous because it allows for a lot of flexibility if the requirements for the needed type are very specific.5. Explain the relationship between dynamic type binding and implicit heap dynamic variables.Dynamic type binding occurs during run time and can be changed throughout a program’s execution. With dynamic type binding the variable is not specified by a declaration statement but rather through an assignment statement. Similarly, in implicit heap dynamic variables, the allocation and de-allocation is also caused by assignment statements.
This is the end of the preview.
access the rest of the document.