These are just implementation details that can just as easily be hidden within the screen itself. Nobody needs to know these things in order to use it. What they care about is that you want to...
Type: Posts; User: ischuldt
These are just implementation details that can just as easily be hidden within the screen itself. Nobody needs to know these things in order to use it. What they care about is that you want to...
Screen is more of a specific type of a RenderingDevice. Utimately you could derive whatever device you wanted off of that. Since in this case I'm interacting with a typical screen that's what I...
Essentially your graphics class is similar to what my screen class would be except it wouldn't draw itself, it would draw an object that it was given.
The fact that you and I read the same spec...
I think you are making a couple significant mistakes here though. First, how do your graphics know how to render themselves unless they know what they are rendering themselves to? Is it a screen? ...
How exactly do you expect your rendering job to know how to render if it doesn't know what it's rendering to? Either the Job gets passed into Screen(what I'm saying you should do), or the Screen...
No, you really don't seem to understand object oriented programming. What you are talking about is functional programming. Your using an object, but ultimately your thinking is functional. You're...
I think that if you want to call yourself an object oriented programmer then there certainly is a final answer. A function on an object is something that you do to the object. Render isn't...
Except you can't because they named it specifically after what it does. Therefore adding additional functionality would make it into something else. If you had and objected called Runner with a...
But if you're going to do that why bother object oriented programming at all? You're just functional programming using objects. If you're going to create an object who's only purpose is to execute...
Right, but they get around that by adding "er" to the end of a verb and turn it into a noun. They say "I want to render so I create a Renderer." I want to search so I'll create a Searcher. ...
I'm a big object oriented programmer myself, but I currently work for a company where my two immediate supervisors are big C++ guys who were raised on functional programming. They claim they want to...