Hacker News new | ask | show | jobs
by Tier3r 582 days ago
I fear not the man who has written 10,000 features once, but the man who has written 1 feature 10,000 times
4 comments

You'd think after a decade of writing forms and form validation on the internets I'd get better at it, but nope, have to reinvent the wheel every time for every framework/form library because nothing is ever finished or good enough. I had hopes HTML5 would fix it but it didn't.
You sound much more experienced as a web developer than me, so you probably know this exists, but just trying to be helpful I want to be sure you know about client side form validation in html5 https://developer.mozilla.org/en-US/docs/Learn/Forms/Form_va...

I appreciate this doesn't cover anything more than the basics, so something like the normal behaviour of comparing two password fields for the same content doesn't work, but I find these controls are useful for getting something simple up and running.

This is full of issues. There has been a recent discussion about it here¹, you may be interested on that.

Also, it doesn't do much.

1 - https://news.ycombinator.com/item?id=41976529

Interesting adaptation of the phrase. I think I may fear the 10k feature person more than the 1 feature
My <TagComponent /> to render tags can kill a person
I'll bring the portal gun.
this is unironically Ryan Florence and React routers