r/webdev • u/Worried_Librarian_79 • 1h ago
[ Removed by moderator ]
/r/webdev/comments/1ybt72d/removed_by_moderator/[removed] — view removed post
0
Upvotes
r/webdev • u/Worried_Librarian_79 • 1h ago
[removed] — view removed post
•
u/webdev-ModTeam 13m ago
Sharing of work for feedback is only allowed on Showoff Saturdays. Please feel free to repost your project next Saturday. Make sure you follow the rules for the expected format and content for Showoff Saturdays.
4
u/jhartikainen 1h ago
I'm not sure how you're claiming to validate VAT IDs and such, when these numbers are on a per-registration basis. Just because the number is valid by pattern doesn't mean it's actually valid.
5
u/Hopeful-Recording705 1h ago
606 identifier types. Six hundred. Who is sitting there writing the validator for the Andorran NRT at 2am and thinking yeah this is the thing that was missing from the ecosystem. and 594 generators, so basically 594 of those 606 exist so you can generate fake data to test the validators you just wrote, which validate the fake data. its a circle. meanwhile every one of these libs dies the same death, the checksum for some Costa Rican tax id changes in 2027 and nobody merges the PR and suddenly your checkout form rejects real customers. ive seen it, we had a library like this at a job and half the country validators were just wrong, someone had copy pasted the regex from stackoverflow with the comment "works for now". so congrats on the catalogue i guess, but the day you stop maintaining it is the day it becomes a liability, and nobody warns you about that in the readme. also "deterministic generators" is such a weird thing to advertise as a feature. generators should be deterministic? thats not a feature thats the definition.
•
u/xondk 29m ago
That is.....wow. Great work.
Did you by any chance work with timezones before this?