Comment

Comment by jibal

> My point being - there are two sides to this coin.

No, you're simply wrong. UB means that anything can happen. And from a security perspective, that is vital to understand.

The only proper response to this code (or similar UB due to ambiguous sequence points) if found in production is to rewrite it and fire or reeducate the author.

Sorry, but some people just aren't competent.

parent jibal 5 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton