Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jackiesshirt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2 ms
·
1.
▲
by
jackiesshirt
2y ago
>Prefer compound literals to superfluous variables I used to agree with this but I have moved away from compound literals entirely except for global statics/const definitions. Having a variable and explicit: foo.x = whatever;