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
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.
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?
Discuss the advantages and disadvantages of Activity?Based Management.
Discuss the advantages and disadvantages of Activity?Based Management.
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
What are the advantages (2) and disadvantages (2) of having a monopoly in an Economy? Will...
What are the advantages (2) and disadvantages (2) of having a monopoly in an Economy? Will you recommend that Monopolies be allowed to operate in the country?
Discuss the pros and cons (advantages and disadvantages) of outsourcing for US companies.
Discuss the pros and cons (advantages and disadvantages) of outsourcing for US companies.
List and discuss the advantages and disadvantages of Incorporating a business (Characteristics of Corporations).
List and discuss the advantages and disadvantages of Incorporating a business (Characteristics of Corporations).