Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
2 added 152 characters in body
source | link

Julia, 99 3 bytes

n->eye(n)eye

This is just a lambdabuilt-in function that accepts an integer n and returns an nxn Array{Float64,2} (i.e. a 2D array). To call it, assignCall it to a variablelike eye(n).

Note that submissions of this form are acceptable per this policy.

Julia, 9 bytes

n->eye(n)

This is a lambda function that accepts an integer n and returns an nxn Array{Float64,2} (i.e. a 2D array). To call it, assign it to a variable.

Julia, 9 3 bytes

eye

This is just a built-in function that accepts an integer n and returns an nxn Array{Float64,2} (i.e. a 2D array). Call it like eye(n).

Note that submissions of this form are acceptable per this policy.

1
source | link

Julia, 9 bytes

n->eye(n)

This is a lambda function that accepts an integer n and returns an nxn Array{Float64,2} (i.e. a 2D array). To call it, assign it to a variable.