Comment

Comment by cle

There are lots of siblings explaining why “parse don’t validate”.

But also, it’s not always wise to take this to an extreme. I’ve seen over the years many scenarios where dev teams were over-enthusiastic about this and parsed themselves into a corner by making system components over-strict and enforcing invariants that weren’t necessary to enforce, making them much harder to change later.

The right answer is, of course, somewhere in the middle, and depends on your domain and situation.

parent cle 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton