Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

oop

  1. sidepie101

    C# How can I add objects to a list of variable size from user input

    I am a newbie on C# and I am trying to make a program to handle orders from customers. I created my object and added a method to read the user input but I am still struggling with creating a list where user can add products by putting in their properties ( name, code and price). Here is what I...
  2. S

    Java OOP Othello Minimax- issue making gametree

    Hi, I don't suppose anyone could help me with an issue I'm having trying to make an Othello board game AI. The issue is with creating the list of "children" where each child is a copy of the current board with one legal move made on it (using this for minimax) I'm getting this error "Cannot...
  3. Blmz

    PHP How can I design this better using OO and SOLID principles?

    I've found lots of similar posts about related questions, this reply by taylonr came close but didn't quite answer my scenario. Need some help with the Solid Principles. https://adevait.com/software/solid-design-principles-the-guide-to-becoming-better-developers Assume I have an interface...
  4. MrOldham101

    Programming Paradigms: Object-Oriented vs Data-Oriented vs Procedural

    Context: I am a professional full-stack web developer currently working on a medium to large scale web app. The system is developed mainly in PHP and we have adopted a very procedural style of coding using large repositories for each "module" of our system that contains all the functions...
  5. James

    Python Classes in Python [Tutorial]

    Now, this is a massive step from the last tutorial, you should know the basics of python to understand this. This tutorial will be going into Object Oriented Programming. How do I define a class? To define a class you need to type class along with the name, similar to a function it must also be...
Back
Top Bottom