Top "Typing" questions

For questions related to data types.

What is Dynamic Typing?

I've heard this term used with scripting languages such as PHP. What exactly does it mean?

php dynamic typing
Self-reference or forward-reference of type annotations in Python

I'm trying to figure out how self-reference of types work with python3's type annotations - the docs don't specify …

python python-3.x python-3.5 typechecking typing
Is there a compiled* programming language with dynamic, maybe even weak typing?

I wondered if there is a programming language which compiles to machine code/binary (not bytecode then executed by a …

programming-languages typing static-typing dynamic-typing
TypeScript: Reference subtype of type definition (interface)

I am using the following type in my TypScript: interface ExerciseData { id : number; name : string; vocabulary : { from : string; to : string; }[]; } …

javascript typescript typing
How to use numpy in optional typing

Lets say I want to make a function which takes a lambda function (Callable) as parameter where the lambda function …

python numpy python-3.5 typing
Untyped / typeless parameters in Delphi

What type are parameters without type like in the class TStringStream: function Read(var Buffer; Count: Longint): Longint; override; What …

delphi parameters typing
Dynamic typed ViewPage

Is this possible? Here's what I'm trying: public ActionResult Index() { dynamic p = new { Name = "Test", Phone = "111-2222" }; return View(p); } …

asp.net-mvc dynamic c#-4.0 typing viewpage
How to force static typing in python

Since static typing is available in Python 3.6, is it possible to force static typing for a python project or set …

python python-3.6 typing static-typing
Python 3 type hints for function signature

Is there a way to declare the signature of a function object with Python (3.5+) type hints? Specifically, is there a …

python python-3.x typing
Average Inter-Keypress time when typing

I have tried to google for answers to this, but perhaps there isn't widely available research or perhaps I'm not …

performance keypress typing response-time