Runtime object example in C#

Asked

Viewed 189 times

2

Reading an article appeared the following term Runtime Object or "runtime object". What would that object be? Would it be an instance of a class? Someone could pass some example?

The part of the article:

The OO design process centers on use cases: a user performs standalone tasks that have some Useful Outcome. (Logging on is not a use case because it Lacks a Useful Outcome in the problem Domain. Drawing a Paycheck is a use case. ) An OO system, then, Implements the activities needed to play out the Various scenarios that comprise a use case. The Runtime Objects that play out the use case do so by sending messages to one Another. Not all messages are Equal, However. You Haven’t Accomplished Much if you’ve just built a procedural program that uses Objects and classes.

https://www.javaworld.com/article/2073723/core-java/why-getter-and-setter-methods-are-evil.html

But what I really wanted to know is what could be an object at runtime.

  • All sure you won’t get an answer, you tried something ? If yes, edit your question and ask, and explain where your question or problem is!

  • I don’t know what it’s like to create an object at runtime, I just wanted an example of this, got it?

  • I think my problem is about the concept. What would this object be? It would be an instance of a class?

  • Dude, in order for me not to keep asking too many questions here, I created a chat room, it’s the first time I access there, I don’t really know how it works. Is there any way I can invite people or I just have to wait for someone to come in?

  • I’m not very familiar with setting up chat rooms, but you can try to take the doubt in the room Stack Burst. You can ask there, and then you can create the question here to help other users in the future.

  • I created this https://chat.stackexchange.com/rooms/76732/fazendo-a-analise-de-um-sistema I don’t think I can ask for book recommendations here, right? So I asked around.

  • I have not yet read the article, based on the excerpt shown in the question and I suppose the cited "Runtime Object" are objects created via Object Factory or Facade Pattern using external processes.

Show 2 more comments

1 answer

3


Without having shown where he saw and the context can not be sure what was being said, but apparently it is an instance of a class.

Or it may be an instance of some kind, regardless of whether it is a class, but it seems to be about the object itself, that is, how it is at the time it is running.

There is the possibility of the term being used by mistake since every object is created at runtime. Perhaps the term was used to reinforce the idea or because they used the term object for what the class would be.

  • I added the article to my question.

  • @Heyjoe so that’s right, although I found the article a little vague and some things debatable.

  • If the article was in Portuguese I would have several doubts, in English I have even more. Can I try to translate what I get and post around here the doubts? 'Cause I read that around here doubts have to be specific, I’m not sure how specific they have to be.

  • 1

    Yes, it can, but post a question by different doubt, unless one of them is very interrelated with another and it’s easier to answer together. Always give context. You can use a reference to a question in the other.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.