Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sai_c
· 6y ago · 0 comments
Besides writing
"int *p"
instead of
"int* p"
I also always use one line per variable declaration, which should avoid confusion when the first style is used. But that's my personal preference.
Edit: corrected code quotation.
Comments
[–]
ogogmad
6y ago
When quoting code, leave a line and indent by two spaces.
[–]
sai_c
OP
6y ago
Sorry, will do so in the future. Thx.
[–]
darkhstarh
6y ago
"int* p" really grinds my gears