Skip to main content

Questions tagged [object-oriented]

Object-oriented programming is a programming paradigm using "objects": data structures consisting of data fields and methods together with their interactions.

-5 votes
0 answers
85 views

After another second thought from the second thoughts series Object oriented programming deque implementation (after second thought) it turns out using static methods alternatively to method ...
9 votes
3 answers
1k views

After not programming in c++ for some time, I decided to write an AVL tree implementation to get back in shape (I wasn't that good anyway. Still an amateur). Header File bst.hpp ...
3 votes
2 answers
1k views

I am asking this, because after studying I am confused that it is necessary to declare base class object, then declare derived class object and then store reference of derived class object in base ...
0 votes
0 answers
61 views

I am creating a program to create digital twins of enterprises. I am using the Simpy framework for this purpose. I'm creating a universal system that can model almost any enterprise, but I have a ...
-1 votes
2 answers
186 views

Another second thought from the second thoughts series Object oriented programming deque implementation (after second thought) led to disposing if statements ...
-7 votes
1 answer
128 views

The java.util.Deque implementation from Object oriented programming deque implementation that consists of three elements linked arrays, each array holding reference ...
2 votes
2 answers
113 views

I'm calculating the injectors, and I've added the complete calculation code and tested it using pytest. Can you suggest a better way to structure the code so that I ...
4 votes
1 answer
368 views

I wanted to check my system design and/or object oriented design skills. I started with this Tic Tac Toe WinForms Desktop program. The user couldn't input characters other than O , X . Both players of ...
-4 votes
1 answer
113 views

Implementation of java.util.Deque interface based on string of POJOs, that is plain old java object, encapsulating a field for holding reference to each object ...
7 votes
2 answers
493 views

Bit of a pointless program (at the moment). It's intended more as practice for myself rather than anything else. General idea is that you add details of a particular cat or dog, and it'll update a ...
6 votes
5 answers
715 views

This is code for a basic word search puzzle generator (also "wordsearch"). The code: Creates a 10 x 10 grid of letters. Words are hidden somewhere in the grid, horizontally or vertically. ...
7 votes
1 answer
205 views

This is a continuation of this question. In the game the player chooses a topic and then gets a random word (or words) from that topic to guess. I've repartitioned the code into objects several times,...
4 votes
5 answers
773 views

First the PasswordStore, which is pretty straight-forward. It stores title-password association, but it is important that a title can have multiple passwords. The <...
8 votes
1 answer
752 views

I tried this as a programming exercise. It's working as intended, but I feel like the code is a mess and I could have used the advantages of object oriented programming much more (like inheritance for ...
2 votes
0 answers
311 views

Update I have released a prototype (v0.1.0) of my SOb project, which is a generalized framework for easily simulating objects. Background I am writing a VBA module ...

15 30 50 per page
1
2 3 4 5
254