logoalt Hacker News

ventanatoday at 4:01 AM2 repliesview on HN

C, as a language, cannot bother less about you using or not using the return values, checking them, discarding them, or using them to index an array without any bounds checking. Various linters and compilers may have their opinions, expressed as warnings, but at the end of the day it's completely up to you as a developer.


Replies

LtWorftoday at 8:26 AM

Same as in go, a language designed several decades later.

show 2 replies
awesome_dudetoday at 5:49 AM

Yeah - I assumed so - which makes the GP post... bizarre