Vim plugin to disapprove deeply indented code
... and then people just "solve" the problem by not indenting at all.Seriously though, it's super hard to avoid deeply-indented code in some languages (cough Java, JavaScript).    @Override
    protected void onDestroy() {
        super.onDestroy();
        if(someCrap != null) {
            PendingResult pending = Wearable.MessageApi.sendMessage(mGoogleApiClient, mPhoneNode.getId(), path, data);
            pending.setResultCallback(new ResultCallback() {
                @Override
                public void onResult(MessageApi.SendMessageResult result) {
                    runOnUiThread(new Runnable() {
                        ....