Let's face it; being a developer doesn't really foster a great social life. Late-night coding and sitting still for days makes our eyes bloodshot, our bellies large, our breath toxic, and our postures almost parabolic.

So sometimes we have to get creative to become more popular, or to at least get more phone calls. Maybe it's time to take a cue from one of Josh's colleagues.

if ( homePhone == null )
    homePhone = new PhoneNumber();
    homePhone.setNumber( "214-555-1212" );
    setHomePhone( homePhone );

In short, rather than validating that the user has entered a phone number on the registration form, it replaces null phone numbers with the developer's own home phone number (which we anonymized so that the guy doesn't get too popular).

[Advertisement] BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!