Click here to Skip to main content
15,173,823 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralDetect user in group only once Pin
SortaCore15-Nov-13 1:15
MemberSortaCore15-Nov-13 1:15 
GeneralRe: Detect user in group only once Pin
Lutosław15-Nov-13 1:31
MemberLutosław15-Nov-13 1:31 
GeneralRe: Detect user in group only once Pin
SortaCore15-Nov-13 1:32
MemberSortaCore15-Nov-13 1:32 
GeneralRe: Detect user in group only once Pin
Lutosław15-Nov-13 1:43
MemberLutosław15-Nov-13 1:43 
GeneralRe: Detect user in group only once Pin
SortaCore15-Nov-13 1:53
MemberSortaCore15-Nov-13 1:53 
GeneralRe: Detect user in group only once Pin
PIEBALDconsult15-Nov-13 3:57
professionalPIEBALDconsult15-Nov-13 3:57 
GeneralRe: Detect user in group only once Pin
Marc Clifton17-Nov-13 5:38
mvaMarc Clifton17-Nov-13 5:38 
GeneralWhat is an Object Pin
michaelbarb14-Nov-13 9:44
Membermichaelbarb14-Nov-13 9:44 
We all understand what a "class" is and what an "instance" is. These terms have nice rigorous definitions. We are having a debate in school with one of the professors. Of course we have to follow there definition in that class but we are wondering what the real answer is. It seems like there are 3 possible answers.

1. An Object and Class mean the same thing.
2. An Object and Instance mean the same thing.
3. An Object is both a Class and Instance. Object is more of a higher order term that includes both.

After doing some web research it seems that over time the name has changed. Just referring to common usage. It started out in the 80's as the first choice. In the 90's things got confusing so they added the word class so they could deal with hierarchies of classes. After the turn of the century is looks like it moved mostly to the 2nd definition. Still it kind of still oscillates between 2 and 3. Some of us think we should not even use the word object because of the confusion and only use class and instance.

We are wondering what the rest of the world thinks now.
So many years of programming I have forgotten more languages than I know.


modified 14-Nov-13 14:53pm.

GeneralRe: What is an Object Pin
DaveAuld14-Nov-13 10:00
professionalDaveAuld14-Nov-13 10:00 
GeneralRe: What is an Object Pin
michaelbarb14-Nov-13 10:16
Membermichaelbarb14-Nov-13 10:16 
GeneralRe: What is an Object Pin
Joan M14-Nov-13 10:10
professionalJoan M14-Nov-13 10:10 
GeneralRe: What is an Object Pin
Richard Deeming14-Nov-13 10:17
mveRichard Deeming14-Nov-13 10:17 
GeneralRe: What is an Object Pin
Freak3014-Nov-13 23:02
MemberFreak3014-Nov-13 23:02 
GeneralRe: What is an Object Pin
Pualee14-Nov-13 12:02
MemberPualee14-Nov-13 12:02 
GeneralRe: What is an Object Pin
michaelbarb14-Nov-13 13:57
Membermichaelbarb14-Nov-13 13:57 
GeneralRe: What is an Object Pin
_Maxxx_14-Nov-13 15:03
professional_Maxxx_14-Nov-13 15:03 
GeneralRe: What is an Object Pin
michaelbarb14-Nov-13 15:24
Membermichaelbarb14-Nov-13 15:24 
GeneralRe: What is an Object Pin
Ron Beyer14-Nov-13 16:39
professionalRon Beyer14-Nov-13 16:39 
GeneralRe: What is an Object Pin
_Maxxx_14-Nov-13 17:38
professional_Maxxx_14-Nov-13 17:38 
GeneralRe: What is an Object Pin
PIEBALDconsult15-Nov-13 8:50
professionalPIEBALDconsult15-Nov-13 8:50 
GeneralRe: What is an Object Pin
Member 1008817116-Nov-13 12:12
MemberMember 1008817116-Nov-13 12:12 
GeneralRe: What is an Object Pin
michaelbarb16-Nov-13 15:25
Membermichaelbarb16-Nov-13 15:25 
GeneralRe: What is an Object Pin
Member 1008817116-Nov-13 15:38
MemberMember 1008817116-Nov-13 15:38 
GeneralRe: What is an Object Pin
michaelbarb16-Nov-13 16:32
Membermichaelbarb16-Nov-13 16:32 
GeneralRe: What is an Object Pin
0bx17-Nov-13 3:46
Member0bx17-Nov-13 3:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.