Thursday, November 29, 2012

ReEx-ing your feelings


Let's face it, many people in the I.T. industry are really terrible at communicating their thoughts and  feelings, I often think that they're only one step up from a compiler.

I was talking with one of my colleagues about an issue and he gave me this little formula that he was given by someone else that he found quite effective in conveying concerns and/or feelings generic enough for any situation and I thought it would appeal to those who struggle with communication.

Formula
When you (do this), I feel/think (this way), because (of such, and such). What I would like you to consider is (doing X) because I think it will accomplish (y). What to you think?

I have taken the liberty to write it in a way so that those people thinking just above compiler level will understand...
package me.social.skils

import org.apache.commons.lang.StringUtils;

public static class ConveyMyFeelingAndConcernsUtil(){

      private static final String FORMULA= "When you %s, " +
                                                             "I feel/think %s, " +
                                                             "because %s. " +
                                                             "What I would like you to consider is %s " +
                                                             "because I think it will accomplish %s. " +
                                                             "What to you think?";

      public static String convey(String whenYouDoThis, String iFeelthisWay,
                                             String becauseOfSuchAndSuch, String byDoingAction,
                                             String accomplishOutcome)
                                             throws NullPointerException{

           if(StringUtils.isBlank(whenYouDoThis) && StringUtils.isBlank(iFeelthisWay) &&
              StringUtils.isBlank(becauseOfSuchAndSuch) &&
              StringUtils.isBlank(byDoingAction) && StringUtils.isBlank(accomplishOutcome){

                   throw new NullPointerException("You haven't provided enough " +
                                                                  "details to explain your self");
            }
            return String.Format(FORMULA, whenYouDoThis, iFeelthisWay,
                                          becauseOfSuchAndSuch,  byDoingAction,
                                          accomplishOutcome);
     }
}

image from box-life.tumblr.com

No comments:

Post a Comment