What is strong-typing versus weak-typing? Which is
preferred? Why?
Answers were Sorted based on User's Feedback
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 |
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 |
Can a .net web application consume java web service?
can any one tell about web services?
Whats the use of @ Register directives ?
Explain method to handle error using HttpError in Web API?
What are the ways of preserving data on a Web Form in ASP.NET?
Is it possible to apply themes to an asp.net application? If yes, then how?
What is difference between cookies and cache?
What is the used of "ispostback" property?
Types of store procedure in Sqlserver?
1.What are the types of events in asp.net? 2.what is databind? 3.what is COM objects? 4.Difference between gridview and datalist? 5.what is SOAP? 6.what are contents are available in asp.net page? 7.what are types of error?
1 Answers CompuRx Infotech, Gemini, Gemini Communication,
What are the various authentication mechanisms in ASP.NET ?
1 Answers Digital GlobalSoft, Satyam,
What is difference between response.redirect and server.transfer ?
2 Answers Kalinga Software, Satyam,
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)