News for hackers. Stuff that matters.
Re:Don't tell me what my browser can't do by rileymat2 on Saturday January 16, 2016 @04:12PM (#10916857)
>A program in a general purpose language cannot reliably continue after an error (without logic to handle that situation). Later steps depend on the earlier ones having executed correctly in every detail.

I don't understand this statement. Obviously, the program cannot preform correctly, but that may not matter. For example, if a web page caches content on disk for the future, but there is an error. It may not matter that the particular disk write failed without any additional logic. The error would just cause a slightly longer load time next time.

Re:Don't tell me what my browser can't do by kazinator on Saturday January 16, 2016 @06:32PM (#10917392)
> It may not matter that the particular disk write failed without any additional logic.

Only if the disk write completely failed, leaving no traces of a half-broken cache entry.

If you have a half-written cache entry and don't deal with that situation somehow, you end up serving the user broken content from the cache.

It usually behooves us to have our code react to write errors.