3 ms·
This rings true the more I think about it. Any large code base gets there with size, but with C one gets there pretty reliably after a certain heft of code.
by actionfromafar 3y ago
This rings true the more I think about it. Any large code base gets there with size, but with C one gets there pretty reliably after a certain heft of code.
- segfaultbuserr 3y agoThat being said, while C's surprises are certainly fewer than other languages, it still does have a few surprising corner cases in contrary to its usual "portable assembly" character (without compiler optimization) - implicit type promotion in expressions with mixed data types, potential malloc() in printf(), possibility of Duff's device, and the likes. A Sun engineer Peter van der Linden has a book Expert C Programming, Deep C Secrets that explores these topics.