logoalt Hacker News

mslalast Sunday at 7:41 PM3 repliesview on HN

Especially since there is a widely recognized way to ignore a parameter:

    (void) a;
Every C programmer beyond weaning knows that.

Replies

time4tealast Sunday at 8:14 PM

The point really was that the unused method parameter should in almost all cases be removed, not that some trick should be used to make it seem used, and this is the wrong trick!

show 2 replies
stefan_last Sunday at 7:43 PM

I'm sure thats disallowed for the C-style cast.

show 2 replies