lundi 1 février 2016

Reduce hard code in web development

I'm using enum in C# in order to reduce hard code text for instance

    private enum alphabet
    {
        aa,
        bb
    }

alphabet.aa.ToString()

in backend.

However, how do you guys do in order reduce hardcoding in webdevelopment included javascript, jquery etc.

Thanks!




Aucun commentaire:

Enregistrer un commentaire