What is strong-typing versus weak-typing? Which is preferred? Why?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted May 30, 2011, 1:26 AM EDT
So, for example, with a weakly typed programming language you may be able to freely intermingle numeric values or numeric strings when creating an expression but in a strongly typed language this sort of thing is severely restricted and usually requires explicit conversions to be made.
Sandeep ShekhawatRank #2,439 · 577 reputationPosted May 29, 2011, 10:24 PM EDT