Y
Hacker News
new
|
ask
|
show
|
jobs
by
sai_c
2103 days ago
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.
2 comments
ogogmad
2103 days ago
When quoting code, leave a line and indent by two spaces.
link
sai_c
2103 days ago
Sorry, will do so in the future. Thx.
link
darkhstarh
2103 days ago
"int* p" really grinds my gears
link