Client side element naming

December 3, 2012

Sometimes, I wonder if someone is playing a joke:

@using (Html.BeginForm("Update",
                            new { id = "MoreInfoText" }))

By which coding convention can it ever make sense to give a form an ID ending with “Text”? Javascript has no type safety either, so bad naming like this makes things even worse.


One Response to “Client side element naming”

  1. Alfonso DB said


    Ive read your blog and you dont know how much I agree with your comments…. Its amazing, you have suffered the same shit as me with the bloody account executives, account managers who basically pick up the phone, smile, hold the line and hang the phone… amazing. Hope you are right 🙂

    BTW, Im an architect of software and Ive studied engineering, Im not a smoke seller! haha


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: