79743620

Date: 2025-08-22 16:09:22
Score: 5
Natty:
Report link

IMO, the convenience benefit of the builder pattern doesn't make up for the strictness you lose when instantiating the entity. Entities usually have column rules like "nullable = false" which means you are mandated to pass it when instantiating. There are other workarounds to mandate parameters in the builder pattern, but do you really want to go through all that trouble for all of your entities?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: micxav