Top "Typing" questions

For questions related to data types.

Vim users, where do you rest your right hand?

Longtime vim users, do you keep your fingers onjkl; or hjkl in normal mode? Standard touch typing teaches us the …

vim keyboard typing ergonomics touch-typing
Does "untyped" also mean "dynamically typed" in the academic CS world?

I'm reading a slide deck that states "JavaScript is untyped." This contradicted what I thought to be true so I …

javascript types computer-science typing
Type annotations for Enum value

I have this piece of code: import enum class Color(enum.Enum): RED = '1' BLUE = '2' GREEN = '3…

python python-3.x type-hinting typing type-annotation
Validating detailed types in python dataclasses

Python 3.7 was released a while ago, and I wanted to test some of the fancy new dataclass+typing features. Getting …

python typing python-dataclasses
Automatically closing braces in Emacs?

I've seen a plugin for Vim called AutoClose (discovered from this post) which automatically adds the closing brace when typing …

emacs typing
Typescript "error TS2532: Object is possibly 'undefined'" even after undefined check

I'm trying to use the --strict option on tsc but I ran into the following "weird" case that I don't …

typescript typing tsc
typing animated text

I have DIV tag with text inside. Is it possible to change the text content in a loop with a …

jquery animation text typing
TypeScript compile error due to typings

I'm using typescript 1.7.5, typings 0.6.9 and angular 2.0.0-beta.0. How can I get rid of the typescript compile error messages Duplicate identifier …

typescript typing
Is ruby strongly or weakly typed?

Is ruby strongly or weakly typed ? Presumably the same is true for Javascript.

javascript ruby typing
Array of a generic class with unspecified type

Is it possible in C# to create an array of unspecified generic types? Something along the lines of this: ShaderParam&…

c# generics typing