Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Help with OOP

  • 23-06-2023 9:50pm
    #1
    Registered Users, Registered Users 2 Posts: 8,593 ✭✭✭


    Hi,

    I'm in a bit of bother with work at the minute and need help. I've moved into a new position where I'm writing code that is heavily OOP. I'm lost to figure out how to get it working and it's embarrassing having to go back and ask for help as I don't want to lose the role during to being rubbish.

    For example, at the minute I'm trying to make a small update to a procedure where I've got to access some state and use it to drive a check on a string. Sounds very simple - probably is too. My problem is that I can't figure out how to get the state I need into the place I need it. The design calls for dynamic dispatching but I can't see how I can get access to this state without screwing up interfaces for other calls.

    I've not done OO in about 20yrs although I've done programming and software in other guises in that time.

    Is there anything that can help me get up to speed quickly with OO as I'm struggling to deal with the stress of it all at the minute. I know that in the medium to long term I'm more than capable of doing the work - I'm just really struggling to get up to speed and I've noone to lean on for help. For reasons beyond the scope of this post I can't go and ask the team for help.


    Thanks.



Comments

  • Registered Users, Registered Users 2 Posts: 6,236 ✭✭✭Idleater


    Language?

    Have you set up a debugger?

    Most allow updating of in-play variables.

    Setting up a unit or integration test might also help generate the scenario.



  • Registered Users, Registered Users 2 Posts: 8,593 ✭✭✭funkey_monkey


    Ada. I can't find an active online help forum. Stack overflow is not a hospitable place and not very active either.

    Yes got a debugger setup, but there are object accesses and class accesses bring passed about and I can't figure out what is what.



Advertisement