this post was submitted on 16 May 2026
423 points (99.8% liked)

Technology

84700 readers
4030 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] yaroto98@lemmy.world 6 points 6 hours ago* (last edited 6 hours ago) (1 children)

Mostly because it's starting with dob, what happens when they require a phone number, address, credit card, or social security number? Faker can fake all those in that library. But you're absolutely right, for one dob it is massive overkill.

Also, I'm do test automation for my career. Litterally use faker daily for generating test data. Defaulting to it is natural and familiar. Most use what they're familiar with, rarely the best solution for a task.

[–] artwork@lemmy.world 1 points 42 minutes ago* (last edited 41 minutes ago)

Roger that! Thank you for being a developer and improving the ineffably magnificent world! ✨

In this case, we do relatively the same, and usually in database seeding and model factories, I believe, but personally I am more into the Laravel and Symfony, where the mentioned above PHP library is used there under the hood.

Please to stay safe!

Related: https://laravel.com/docs/13.x/eloquent-factories