Question

Discuss the advantages and disadvantages of having typed and type-less programming languages.

Discuss the advantages and disadvantages of having typed and type-less programming languages.

Homework Answers

Answer #1

Advantages of typed programming language:

1) The code is better optimized from the compiler.

2) It prevents run-time errors.

3) There is early detection of errors.

4) No run-time penalty is charged for determining the type.

Disadvantages of typed programming language:

1) There is a loss of flexibility

2) It is difficult to define collections of heterogeneous objects

Advantages of type-less programming language:

1) There is a lot of flexibility. Any variable can be used for any type values.

2) The speed of development is high.

3) No type errors.

Disadvantages of type-less programming language:

1) The reliability is poor because type errors can be made easily.

2) The runtime is slower.

3) The safety is less because you might return the wrong type.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Allowing employees to telecommute is often a concern to management. Discuss the advantages and disadvantages of...
Allowing employees to telecommute is often a concern to management. Discuss the advantages and disadvantages of having workers who telecommute.
Discuss the advantages and disadvantages of batch processing
Discuss the advantages and disadvantages of batch processing
What are the advantages and disadvantages of having a post anal tail?
What are the advantages and disadvantages of having a post anal tail?
List the advantages and disadvantages of solving integer programming problems by (a) rounding off and (b)...
List the advantages and disadvantages of solving integer programming problems by (a) rounding off and (b) enumeration. Give a detailed example.
What are the advantages and disadvantages of having a model of career development that is as...
What are the advantages and disadvantages of having a model of career development that is as complex as that of Krumboltz?
Discuss the advantages and disadvantages of Activity?Based Management.
Discuss the advantages and disadvantages of Activity?Based Management.
What are the advantages and disadvantages of having so many levels of subnational governments in the...
What are the advantages and disadvantages of having so many levels of subnational governments in the United States? Explain. Do term limits seem to have more advantages or disadvantages? Defend your answer.
discuss the concept of object-oriented programming and list the advantages
discuss the concept of object-oriented programming and list the advantages
Compare the Advantages and disadvantages of reed type frequency meters
Compare the Advantages and disadvantages of reed type frequency meters
What are the advantages and disadvantages of a weak matrix type organization
What are the advantages and disadvantages of a weak matrix type organization
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT