Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / vetri

Strong type is checking the types of variables as soon as
possible, usually at compile time. While weak typing is
delaying checking the types of the system as late as
possible, usually to run-time. Which is preferred depends
on what you want. For scripts & quick stuff you’ll usually
want weak typing, because you want to write as much less
(is this a correct way to use Ensligh?) code as possible.
In big programs, strong typing can reduce errors at compile
time.

Is This Answer Correct ?    8 Yes 1 No

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

Answer / 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

More ASP.NET Interview Questions

What is anonymous authentication?

0 Answers  


How to implement caching?

2 Answers   Infosys, Microsoft,


What are validator? Name the validation controls in asp.net?

0 Answers  


Write code to send e-mail from an asp.net application?

0 Answers  


How to register exception filter globally?

0 Answers  


Explain the difference between an exe and a dll?

0 Answers  


what are webservices?In which circumstances we can go for webservices?

3 Answers   Microsoft,


Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?

0 Answers  


Explain the steps to be followed to use passport authentication.

0 Answers  


What is session object? Describe in detail.

0 Answers  


Differentiate between globalization and localization.

0 Answers  


can sn.exe can be used before gacutil.exe

2 Answers   Accenture,


Categories