Topic: Naming attribute the same as the Class?

Is that a bad idea? Lets say I have a table for name. The attribute would be name as well.

Would this cause problems in forms? Nesting the Name table under User, etc? Or does it not matter at all?

Re: Naming attribute the same as the Class?

Doesn't matter really other than it's just bad practice and goes against entity modelling design, can lead to ambiguity and shows a lack of creativity smile

What's in a name? Everything - Remember you are going to have to read your code a year down the line and understand it!

What you want and what you need are too often not the same thing!
When your head is hurting from trying to solve a problem, stop standing on it. When you are the right way up you will see the problem differently and you just might find the solution.
(Quote by me 15th July 2009)