3 ms·
Modern C
- johnisgood 2y agoI love Modern C by Jens Gustedt. I will stick to the older version without C23, as I prefer C99, but pretty sure this version is great, too. I learnt a lot from reading this book.
- casenmgreen 2y ago[flagged]
- plexom 2y agoDoes it walk beside me?
- GTP 2y agoIs this a reference?
- FroshKiller 2y agoYes, it's a reference to the David Bowie song "Modern Love," whose refrain includes the line, "Modern love gets me to the church on time."
- Supernaut 2y ago... which in itself is a reference to the song "Get Me to the Church on Time" from the musical "My Fair Lady".
- defrost 2y agolyric from Bowie's Modern Love.
- defrost 2y agoIt'll get you up the hill .. backwards.
- cudder 2y agoIf it doesn't, HolyC might
- keepamovin 2y agoThe INRIA page links to a downloadable PDF version here: https://inria.hal.science/hal-02383654v2/document https://inria.hal.science/hal-02383654v2/document
- Alifatisk 2y agoWhat, is auto and constexpr coming to C?! https://www.open-std.org/JTC1/SC22/WG14/www/docs/n3220.pdf#subsection.8.2.2 https://www.open-std.org/JTC1/SC22/WG14/www/docs/n3220.pdf#s...
- feverzsj 2y agoAt this rate, they may just switch to C++ mode.
- pjmlp 2y agoIt won't work, modern C is all about being C++ without classes and templates, while coming up with worse approaches (_Generic), apparently. Now better ways of doing strings and arrays, no need for something as modern as 1976's PL/I way of doing them.
- mmaniac 2y agoWhat's so bad about _Generic? I would not let the name distract you - it's equivalent to overloading, not "generics" (i.e. parametric polymorphism) In that capacity I think it's quite a lot more sane than C++. Having a closed set of overloads, not having name mangling, not having complex name lookup rules are all a good thing.
- johnisgood 2y agoI have made a lengthy comment about why I dislike C23. I cannot find it right now, but yeah, mainly because it is kind of turning into C++ and I do not like that, that is why I will continue sticking to C99. The earlier version of the book is great for that.
- chongli 2y agoI have to say, of all programming languages, C is the one which gets the most strident opposition to the most minor of changes. I would love to read your reasoning because so far I have not been able to understand the stiff resistance to what I see are very positive changes aimed at cleaning up so much of the mess that is C.
- deleted 2y ago[deleted]