3 ms·
1. The only reason to use C these days _is_ performance and portability. Write the code to your level of expertise or use a different language to cater to the '
by jankedeen 10y ago
1. The only reason to use C these days _is_ performance and portability. Write the code to your level of expertise or use a different language to cater to the 'du jour' audience.
2. This was advice straight of Der lindens Deep C secrets back in the mid 90s. It wasn't always true then and it isn't always true now. I often use macros and don't find them a problem to understand in others code.
3. Give me a break. Except when you don't need to allocate and manage memory which is almost every time you write a tool that does one thing well. This is not a good general principle.
4. This is the way it works for me. Do it. Nope.
5. Ok, some of this is common sense writing portable code. 'GNU is a blight on this earth': "..now we see the violence inherent in the system.."
6. Yes, finally a good point but not about C per-se.
7. Ok, but this is not about C per-se.
8. Hrrmmm. A culture of blame is what produces restrictive rules like these.
This article is fodder for the Rust and other anti-c devotees here to glom onto and point out all the problems with the author and his language as the ultimate straw man. To me it sounds like this person wasn't writing C in the 90s.