Top "Dynamic-typing" questions

Dynamic Typing is a property of a programming language where type checks are performed mostly at run time.

What is the difference between statically typed and dynamically typed languages?

I hear a lot that new programming languages are dynamically typed but what does it actually mean when we say …

programming-languages computer-science static-typing dynamic-typing
How to identify numpy types in python?

How can one reliably determine if an object has a numpy type? I realize that this question goes against the …

python numpy duck-typing dynamic-typing
Static/Dynamic vs Strong/Weak

I see these terms bandied around all over the place in programming and I have a vague notion of what …

terminology strong-typing static-typing dynamic-typing weak-typing
Using Variables for Class Names in Python?

I want to know how to use variables for objects and function names in Python. In PHP, you can do …

python dynamic-typing
Do union types actually exist in python?

Since python is dynamically typed, of course we can do something like this: def f(x): return 2 if x else "…

python types unions dynamic-typing
Is Python type safe?

According to Wikipedia Computer scientists consider a language "type-safe" if it does not allow operations or conversions that violate the …

python types type-safety dynamic-typing memory-safety
Converting dynamic to object

Here is my code: MyClass here = new MyClass(); IEnumerable<MyClass> vats = (IEnumerable<MyClass>)here.All(); The …

c# dynamic-typing dynamictype
Java Instantiate Class at Runtime with parameters

I am using an abstract factory to return instances of concrete subclasses.I would like to instantiate the subclasses at …

java dynamic-typing abstract-factory
How to set heading, subheading, body, footnote, and captions font for dynamic type text styles in Swift?

I was working through the Using Text Kit to Manage Text in Your iOS Apps tutorial. It was written for …

ios swift dynamic-typing textkit text-styling
Dynamic type cast from id to class in objective c

I would like to cast dynamically in Objective C and access instance properties. Here a pseudo code: id obj; if (…

objective-c dynamic-typing