#954 – Static Typing vs. Strongly Typed

There is often confusion in C# between the terms static typing (or statically typed) and strongly typed.

Static typing is the process of enforcing type safety at compile-time, ensuring that you only interact with objects in ways that are allowed by that object’s type.  C# mostly uses static typing to enforce type safety, but also supports dynamic typing, using the dynamic keyword.

The idea of a language being strongly typed is, in general, the idea that a language enforces type safety.  This may be done either statically or dynamically.  People have traditionally considered C# to be a strongly typed language.

The term strongly typed is not all that useful, however.  The term is subjective and means different things to different people.  Different languages may be more or less strongly typed than other languages.  So it doesn’t make sense to say that a language is or is not strongly typed.


About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

3 Responses to #954 – Static Typing vs. Strongly Typed

  1. Pingback: Dew Drop – October 17, 2013 (#1,647) | Morning Dew

  2. Hai Sean, your articles are very informative. I am Arun from India who is an ASP.Net, C#, MVC developer. Can you please suggest some good blogs in wordpress about .Net Framework, C#, MVC etc. just like you. I am so eager to read all these things.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: