Click here to Skip to main content
15,893,564 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralWhat's the difference between Property and Attribute Pin
Jörgen Andersson7-Mar-19 2:46
professionalJörgen Andersson7-Mar-19 2:46 
GeneralRe: What's the difference between Property and Attribute Pin
den2k887-Mar-19 3:05
professionalden2k887-Mar-19 3:05 
GeneralRe: What's the difference between Property and Attribute Pin
lopatir7-Mar-19 3:24
lopatir7-Mar-19 3:24 
GeneralRe: What's the difference between Property and Attribute Pin
musefan7-Mar-19 4:40
musefan7-Mar-19 4:40 
GeneralRe: What's the difference between Property and Attribute Pin
BStorrar7-Mar-19 22:14
BStorrar7-Mar-19 22:14 
GeneralRe: What's the difference between Property and Attribute Pin
musefan7-Mar-19 22:28
musefan7-Mar-19 22:28 
GeneralRe: What's the difference between Property and Attribute Pin
SeattleC++8-Mar-19 8:30
SeattleC++8-Mar-19 8:30 
GeneralRe: What's the difference between Property and Attribute Pin
englebart8-Mar-19 2:16
professionalenglebart8-Mar-19 2:16 
I would argue that the color/colour would be a calculated field that is based on the age of the banana. It actually seems like it should really be more than a color to account for spots.
class Banana {
   DateTime _estimatedPollinationDateTime;
   DateTime _pickedDateTime;

   Color getBaseColor() {
      return colorFunc(_pickedDateTime);
   }   
   Pattern getPattern() {
       ... 10% spotted
   }
   Boolean isEdible() {
       // always!
       return true;
   }
}

GeneralRe: What's the difference between Property and Attribute Pin
User 48350477-Mar-19 7:12
User 48350477-Mar-19 7:12 
GeneralRe: What's the difference between Property and Attribute Pin
PIEBALDconsult7-Mar-19 7:28
mvePIEBALDconsult7-Mar-19 7:28 
GeneralRe: What's the difference between Property and Attribute Pin
lopatir7-Mar-19 3:07
lopatir7-Mar-19 3:07 
GeneralRe: What's the difference between Property and Attribute Pin
ZurdoDev7-Mar-19 3:17
professionalZurdoDev7-Mar-19 3:17 
GeneralRe: What's the difference between Property and Attribute Pin
lopatir7-Mar-19 3:25
lopatir7-Mar-19 3:25 
GeneralRe: What's the difference between Property and Attribute Pin
ZurdoDev7-Mar-19 3:29
professionalZurdoDev7-Mar-19 3:29 
GeneralRe: What's the difference between Property and Attribute Pin
Rage7-Mar-19 3:18
professionalRage7-Mar-19 3:18 
GeneralRe: What's the difference between Property and Attribute Pin
Slacker0077-Mar-19 4:42
professionalSlacker0077-Mar-19 4:42 
GeneralRe: What's the difference between Property and Attribute Pin
Nelek7-Mar-19 8:33
protectorNelek7-Mar-19 8:33 
GeneralRe: What's the difference between Property and Attribute Pin
Jörgen Andersson7-Mar-19 3:41
professionalJörgen Andersson7-Mar-19 3:41 
GeneralRe: What's the difference between Property and Attribute Pin
CodeWraith7-Mar-19 4:37
CodeWraith7-Mar-19 4:37 
GeneralRe: What's the difference between Property and Attribute Pin
Wastedtalent7-Mar-19 20:53
professionalWastedtalent7-Mar-19 20:53 
AnswerRe: What's the difference between Property and Attribute Pin
ZurdoDev7-Mar-19 3:18
professionalZurdoDev7-Mar-19 3:18 
GeneralRe: What's the difference between Property and Attribute Pin
Jörgen Andersson7-Mar-19 3:25
professionalJörgen Andersson7-Mar-19 3:25 
GeneralRe: What's the difference between Property and Attribute Pin
lopatir7-Mar-19 3:26
lopatir7-Mar-19 3:26 
GeneralRe: What's the difference between Property and Attribute Pin
Rage7-Mar-19 3:18
professionalRage7-Mar-19 3:18 
GeneralRe: What's the difference between Property and Attribute Pin
Jörgen Andersson7-Mar-19 3:26
professionalJörgen Andersson7-Mar-19 3:26 

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.