Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tavianator
· 1y ago · 0 comments
The C standard (since C99) says that `main()` has an implicit `return 0`, you don't need to write it explicitly.
Comments
[–]
01HNNWZ0MV43FF
1y ago
Sure but are we teaching good habits to students, or are we golfing?
[–]
pjmlp
1y ago
Given how many tutorials leave best practices out on how to do proper error handling, strings and arrays in C, doing analysis as part of the build, I would say golfing most of the time.