Skip to main content

Coding Stories || - John and Gigel

Yesterday, I start looking over a web application. Unfortunately, I didn’t have the last version of the application. Why unfortunately? Because I was surprise to find something like this in the code:
public override string CssClass
{
    get
    {
        if(ResourceManager.GetResourceAsString([someName])
        {
            return "gigel";
        } else
        {
            return "john";
        }
        
    }         
}
Remarks: Gigel is a name in Rumanian, like John, Tom. These two names are used in our language (Rumanian) especially in jokes and funny story.

Comments