Jump to content

Beezwax

Sign in to follow this  
  • entries
    113
  • comment
    1
  • views
    4123

Something out of Nothing: Null Object Pattern

Sign in to follow this  
vincenzo

32 views

We often think of nothing as, well, nothing. It's when something doesn't exist and therefore cannot be interacted with. So in our code, we try account for having nothing. No User? No problem. The Null Object Pattern is also an example of Composition over Inheritance.

Afficher la totalité du billet

Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...