Zorba the Hutt (zorbathut) wrote,
Zorba the Hutt

  • Mood:
11. Too Much Of A Good Thing (TM): Go wild with encapsulation and OO. For example:

    myPanel.add( getMyButton() );
    private JButton getMyButton( )
        return myButton;

That one probably did not even seem funny. Don't worry. It will some day.

(from How To Write Unmaintainable Code)
  • Post a new comment


    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment