Timeline for "Hello, world!" program using a class for printing
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 29, 2016 at 1:29 | history | edited | Jamal | CC BY-SA 3.0 |
added 41 characters in body
|
Aug 29, 2016 at 1:14 | comment | added | Pierre C | Thank you for giving me the opportunity to refine my reply. My answer is concise because I prefer to stay to the point and avoid distractions, but in this case, we are dealing with a methodology, Object Oriented Programming, that aims at creating a model and defining how it works. To remain within the spirit of the methodology, we gain in clarity by representing verbs, like "print", as being what the object does, and using nouns to describe behavior. This is why I named the class of the object "World". | |
Aug 29, 2016 at 0:49 | review | Late answers | |||
Aug 29, 2016 at 1:13 | |||||
Aug 29, 2016 at 0:45 | comment | added | pacmaninbw♦ |
If you're going to make a broad statement like The concept of printing is better defined as a method of an object , please explain why it is better. Is it more efficient? Does it better meet some Software Design Principal? Your answer is a little lacking and needs to be improved.
|
|
Aug 29, 2016 at 0:34 | review | First posts | |||
Aug 29, 2016 at 0:45 | |||||
Aug 29, 2016 at 0:33 | history | answered | Pierre C | CC BY-SA 3.0 |