1. Список говнокодов пользователя Alexander

    Всего: 1

  2. C# / Говнокод #5873

    +126

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    private const string constDefFeedLimitValue = "5";
    private string feedLimit = constDefFeedLimitValue;
    private int feedLmt;
    
    protected override void RenderContents(System.Web.UI.HtmlTextWriter writer)
            {
                try
                {
                    feedLmt = Convert.ToInt32(feedLimit);
                }
                catch (Exception)
                {
                    feedLmt = 0;
                }
                ...
            }

    Автор из Киева, имеет статус MVP.

    Alexander, 03 Марта 2011

    Комментарии (18)