Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Silas Reinagel
    @SilasReinagel
    We composed our object graph, beginning with a parent graph who is a Scene, and then the Scene might encapsulate other Objects, each of whom is told to render themselves Draw based on a Parent Position. The calls propagate downwards until every object in the graph (each encapsulated in a specific group or container) has been told to draw himself.
    One the the flaws is that we used a Static Class that we called to do our rendered, rather than passing the SpritesBatch like we did in later projects.
    In the example code, we have a simulated Tablet Computer in the game who can switch between various In-Game Apps. Each App would do composed of it's own encapsulated objects (buttons, images, icons, text, characters... and so forth)
    Joshua Light
    @JoshuaLight

    @SilasReinagel

    I like such approach and seen it in many places, actually. But, as for me, it can be used only for UI things in UI domain. Yes, we can abstract rendering for visual things, as it has done in, for example, Avalonia UI, where guys just created something like SpriteBatch that is used in many OS and contexts.

    But when we're talking about separation of domain model from UI (I think this is obvious, why we're doing that), then all become more complicated. I think this is just theoretically impossible without getters.

    Joshua Light
    @JoshuaLight
    But what I think is that such "getters" are not even getters, because they're queries. Getters are all about direct field encapsulation.
    Silas Reinagel
    @SilasReinagel
    I also agree
    Naked data manipulation is dangerous
    But there is nothing wrong with being able to ask an object for a piece of information and receive back a message with that information
    It has to do more with the general design of the Object, and not whether it uses "getter" syntax or not.
    Joshua Light
    @JoshuaLight

    @SilasReinagel
    Agreed!

    Can you give me a link to OOP slack channel? I mailed goqp, but he is silent. ))

    Victor Noël
    @victornoel
    @JoshuaLight @goqp didn't seem to want to make it public, but anyway you need an invite to get on it, so you will have to wait for @goqp (as I am ^^).
    Joshua Light
    @JoshuaLight
    Let's wait together! ))
    Zsolt Sandor
    @sz332
    guys, give me some email address, and I try to send an invitation.
    @JoshuaLight @victornoel give me your email address and i will try to send you an invitation.
    Victor Noël
    @victornoel
    thx
    JP
    @nqafield
    @/all Do you think there's any chance of convincing Yegor to abandon Telegram and move to something that doesn't (entirely unnecessarily) require your phone number...?
    Luca Guadagnini
    @tryIO
    I don't think so :smile: but I agree there's no sense to give our phone numbers just for chatting, I suppose Slack would be another valid and better solution (as much as Discord in my opinion)
    Zsolt Sandor
    @sz332
    @tryIO a couple of us moves already to slack, ask @goqp for access
    JP
    @nqafield
    Thanks. I'll give Slack a go I think.
    Zsolt Sandor
    @sz332
    welcome. Just write me a private message with your email address, and i will try to send you an invitation.
    @nqafield ^^^^
    JP
    @nqafield
    Thanks @sz332!
    Meerow
    @Meerownymous
    Does anyone of you know examples for object oriented approaches in Angular2-5?
    Services as well as dealing with Views.. There is so much data leaking all over the application
    Victor Noël
    @victornoel
    good question…
    Renato Marinho
    @renatomarinho
    This message was deleted
    Kapralov Sergey
    @skapral
    A bit of marketing: for those who like puzzle-driven development, there is a tool https://github.com/skapral/puzzlerbot, which makes possible to manage puzzles outside of the source code.
    Renato Marinho
    @renatomarinho
    This message was deleted
    AbrisM
    @AbrisM
    Hi all
    AbrisM
    @AbrisM
    Anyone know how to get the java.lang library to recongnize newly created type Objects?
    Like if I make a custom object like Squid fish = new Squid(); how do I have Java recongnize this custom besides default type Objects?
    Zsolt Sandor
    @sz332
    cglib or similar?
    Augustas
    @AugustasV
    Maybe someone can explain me, how I should write PHP code, and output everything as string? Something like that? I need to input some data, but output only in console or something
    BruceGitHub
    @BruceGitHub
    Hello
    This is a place where speak of oop?
    BruceGitHub
    @BruceGitHub
    I not understand why in major o equality method implementation of value object it's used the null check, a null value object isn't against the concept value object?
    PsyDuck7
    @PsyDuck7
    hello. i am a student and i need help to understand a project in java OOP . can anyone help me ?
    Timur Isachenko
    @isatimur
    looks like chat dead!
    BruceGitHub
    @BruceGitHub
    :-(
    the telegram chat it's more active
    Zsolt Sandor
    @sz332
    Hello, go to the Telegram chat, it is pretty much alive
    @BruceGitHub see above