|
|
|
|
|
by 37ef_ced3
1378 days ago
|
|
Are you seriously suggesting that the language should not have notation for allocating zeroed primitive types and receiving the address of the allocation? var (
p1 = new(int)
p2 = new(*int)
p3 = new(**int)
p4 = new(complex64)
p5 = new(complex128)
)
I feel like you must be joking. Should we say var (
c complex128
p = &c
)
every time? |
|