Re:C is not your friend: sizeof and side-effects
by Etzos on Wednesday April 19, 2017 @05:21PM
(#14151905)
This seems like a bit of a knee-jerk reaction on your part. The article itself is interesting and points out an edge case which is likely to trip people up in certain situations. I don't really see the article mentioning or even hinting that "C is evil", it even includes a bit of a qualifier at the end: "C is reaching PHP-like levels of confusion here, but luckily for us this combination . . . is pretty hard to hit. I’ve never seen it in “real” code."
[ Parent
| on HN ]
Re:C is not your friend: sizeof and side-effects
by buserror on Wednesday April 19, 2017 @05:31PM
(#14151985)
A bit yes, I have to admit this. However it's not HARD to find new&interesting way of screwing up with the language, it's been done for longer than I'm alive, and some people abused it in extraordinary ways over the years [0], so all I can think of when I see that sort of article is 'HN clickbait'. It works. It's actually borderline trolling at this rate.
Re:C is not your friend: sizeof and side-effects
by blackflame7000 on Wednesday April 19, 2017 @05:29PM
(#14151968)
To be fair the article is called "C is not your friend"