Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
TremendousJudge
on April 6, 2023
|
parent
|
context
|
favorite
| on:
C Strings and my slow descent to madness
I love how in every C code snippet on every comment on this thread, somebody got something wrong. I take it as a sign that it's probably best to avoid C as much as possible.
giantrobot
on April 6, 2023
|
next
[–]
! multithreaded it's not Hey, at least code
avar
on April 6, 2023
|
prev
[–]
Any C compiler that isn't a trivial toy implementation will warn about that, so it's hardly a C gotcha.
tom_
on April 7, 2023
|
parent
[–]
clang and VC++ for x64 warn about this out of the box, but gcc seems to need -Wall.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: