/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
The C23 edition of Modern C
(gustedt.wordpress.com)
515 points
bwidlar
| 1 comments |
15 Oct 24 16:06 UTC
|
HN request time: 0.615s
|
source
Show context
belter
◴[
15 Oct 24 17:30 UTC
]
No.
41850897
[source]
▶
>>41850017 (OP)
#
Important reminder just in the Preface :-)
Takeaway #1: "C and C++ are different: don’t mix them, and don’t mix them up"
replies(8):
>>41850960
#
>>41851047
#
>>41851166
#
>>41851693
#
>>41853183
#
>>41855660
#
>>41857019
#
>>41858537
#
pjmlp
◴[
15 Oct 24 17:35 UTC
]
No.
41850960
[source]
▶
>>41850897
#
Specially relevant to all those folks that insist on "Coding C with a C++ compiler", instead of safer language constructs, and standard library alternatives provided by C++ during the last decades.
replies(3):
>>41851031
#
>>41851082
#
>>41851268
#
1.
Spivak
◴[
15 Oct 24 17:42 UTC
]
No.
41851031
[source]
▶
>>41850960
#
I mean as long as your goal is specifically to do that I think it's fine. Using a C++ compiler to compile a C program isn't that rare.
ID:
GO
↑