Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
wwalexander
· 4mo ago · 0 comments
Swift generics tend to idiomatically use longer names, like Element or View or Content.
Comments
[–]
girvo
4mo ago
I’ve always done that in my typescript code bases too, and I’ve never regretted it
[–]
fooooor
4mo ago
Lambdas usually have short variable names because the scope is small, typically half a line. And that is fine, even optimal.