Over a million developers have joined DZone.

The Seven Deadly Sins For Developers (* some restrictions apply)

DZone's Guide to

The Seven Deadly Sins For Developers (* some restrictions apply)

· ·
Free Resource

RavenDB vs MongoDB: Which is Better? This White Paper compares the two leading NoSQL Document Databases on 9 features to find out which is the best solution for your next project.  

I have seen all of these in production code:

Example 1: 

throw new NullReferenceException();

Example 2:

public class AbstractController : Controller
// or 
// public class AbstractPag : Page
    public static bool IsAdmin { get;set; }

Example 3:

public static class BlogMgr
    public static void AddPostToBlog(Blog blog, Post post)
            post.Blog = blog;

* I could only think of three, but I didn't want to modify the title.  Can you complete the list?

Get comfortable using NoSQL in a free, self-directed learning course provided by RavenDB. Learn to create fully-functional real-world programs on NoSQL Databases. Register today.


Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}