What is strong-typing versus weak-typing? Which is
preferred? Why?

Answer Posted / kirti

Strong typing implies that the types of variables involved in operations are associated to the variable, checked at compile-time, and require explicit conversion; weak typing implies that they are associated to the value, checked at run-time, and are implicitly converted as required. (Which is preferred is a disputable point, but I personally prefer strong typing because I like my errors to be found as soon as possible.)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is state management in asp.net with example?

458


Explain the Session state management options available with ASP.NET?

564


Explain Life cycle of ASP.NET page when a request is made.

747


What is session in http request?

554


Where would you use an ihttpmodule, and what are the limitations of any?

547






What are Authentication and Authorization?

602


What is custom attribute?

569


Explain the difference between an exe and a dll?

525


Why is xap important?

594


Differentiate globalization and localization.

587


can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it

1418


Is post back in asp.net?

518


How can we register exception filter from the action?

660


Define msil.

541


How many types of state management are there in asp net?

518