Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

meta: This is one of those times when downvotes here on HN completely baffle (and I must admit, somewhat amuse) me. Who am I offending by sharing an opinion about integer types in C?


Your rant against size_t and portability is misplaced as size_t increases portability when used appropriately.


That is called disagreement and shouldn't be downvoted. Moderation isn't to express agreement.


Expressing disagreement is expressly an acceptable basis for downvoting, and given the more general purpose of voting (expressing whether or not a contribution is valuable), while not all disagreement involves perception that the thing disagreed with isn't valuable, that something is inaccurate or wrong certainly can be a reason to conclude that is not a valuable contribution to a discussion.


People downvote incorrect information all the time.


While you may disagree with my opinion on what is the better type to use, I believe everything I said in my comment was factually correct.


size_t's raison d'etre is portability, you should be using it for things that are indexes/sizes into memory. FWIW, I don't have the karma to downvote.


Not the place to discuss, but 9/10 of my comments drop to 0 or -1 before going positive, even the ones that end up very positive. I don't worry about downvotes until the comment has been up for at least 30 minutes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: