Вы не знаете, где это лечат?

    Date: 12/12/07 (Code WTF)    Keywords: no keywords

    Альтернатива индусской проверке на длину стрчного представления.
    final boolean recstuffArrows = Boolean.TRUE.equals(stuffCache.getReceiverStuff(clientHzMeetingVO.getPk()).getRecstuffArrows());

    А это - "утрясаловка"

           while (true) {
                if (refreshStuff(clientType, toDoList)) {
                    continue;
                }
                if (refreshRequester(clientType, toDoList)) {
                    continue;
                }
                if (refreshPriority(clientType, toDoList)) {
                    continue;
                }
                if (refreshLocation(toDoList)) {
                    continue;
                }
                if (refreshUseHomeAddress()) {
                    continue;
                }
                if (refreshBlahBlahStartDate(clientType,toDoList)) {
                    continue;
                }
                if (refreshBlahBlahStartTime(clientType,toDoList)) {
                    continue;
                }
                if (refreshRound(clientType, toDoList)) {
                    continue;
                }
                if (refreshProcessingBlahBlah(clientType, toDoList)) {
                    continue;
                }
                if (refreshRoundType(clientType, toDoList)) {
                    continue;
                }
                if (refreshBlahBlahPrintCriteria(clientType)) {
                    continue;
                }
                if (refreshTakenAtBlahBlahStay()) {
                    continue;
                }
                if (refreshReplyToBlahBlahStay(clientType)) {
                    continue;
                }            
                break;
            }
    


    Некоторые названия методов заменены во избежание претензий :)

    Source: http://community.livejournal.com/code_wtf/117517.html

« А как это... || Не WTF, просто... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home