Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)ZE
zero_1 @lemmy.dbzer0.com
Posts 1
Comments 1

[help]Question regarding Builder design patter.

I was watching a video regarding design patterns and the youtuber made an example of the builder pattern... I didn't know about the pattern(there is a reason why I was watching the videos); But I had encounter the same type of problems so what I usually did was to return null to the fields I didn’t had their data.

Is it wrong what I was doing?

At the end the builder will make the object with a null data and realistically it takes the same amount of code...

3
New User's guide
  • Do I need to create a profile for each instance? No! Each instance can access each other instance, unless it’s been defederated because its admins are toxic (this is why I told you not to join right-wing instances earlier).

    me who has created 4 different accounts in different instances...

    Well shit now what do I do with this?