CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 04:26:29 GMT
content-type: text/html; charset=utf-8
cf-ray: 965960fcac0dc143-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=8f89bf0e-8378-4e79-9582-2897e4fb882b; expires=Mon, 27 Jul 2026 04:26:29 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: 1360b526-bc4d-457e-a716-ed34cb8c947c
x-worker-origin-response-time: 625000000
x-dns-prefetch-control: off
set-cookie: prov=8f89bf0e-8378-4e79-9582-2897e4fb882b; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=ENFs0fh7LH6M518eQHsWzqcTRkG1GUQ665l7ZO34rMQ-1753590389-1.0.1.1-O5yfv3f2GN38ZrfIsANNQF4YavlwNBq48BXGm9ESRKeRpQu6zsBRS.A9Xi6CwDAlEeV.DhSLgkZIk.YCQszPS3pblnI.8.ABqIw8ofFd4RQ; path=/; expires=Sun, 27-Jul-25 04:56:29 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=qK9Xn6sYzvQShO8A2wX70zKAhu10wfW92Nk0RNUUm5w-1753590389885-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'object-oriented' Questions - Code Review Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [object-oriented]
Object-oriented programming is a programming paradigm using "objects": data structures consisting of data fields and methods together with their interactions.
3,764 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
8
votes
2
answers
961
views
Python OOP game of Hangman
I am currently learning object oriented programming in Python.
I attempted writing an OOP program for hangman, and while the program is functional, I just ended up writing a very long class method. ...
4
votes
1
answer
185
views
ReportManager design — ownership via move or unique_ptr, SRP concerns, and O(1) lookup strategy
I’m practicing the Single-Responsibility principle with a small project.
A Report is composed of ...
2
votes
1
answer
120
views
ABC/XYZ business process analysis
I have written a code that deals with ABC/XYZ analysis. I want to use it in my application and would like to find out how the code can be improved, its readability and it will be better to implement ...
-1
votes
1
answer
96
views
Am I overusing classes and/or OOP features? [closed]
I have a very class heavy approach to writing C++ code, which I don't think is necessarily wrong. However, I often use classes without knowing if I actually need them, which I feel leads to making ...
8
votes
2
answers
957
views
A tree of polymorphic types (Crafting Interpreters Book)
I am following the book crafting interpreters by Robert Nystrom using C++. In the book we use an Expr base class to describe expressions in the language lox. ...
6
votes
3
answers
537
views
Menu user interface class in C++
I wrote a menu user interface in C++. What do you think about my code? What can I improve? Am I missing some better practices?
main.cpp
...
0
votes
3
answers
180
views
Java exceptions that show the message when converted to String
I’m working with custom exceptions in Java for stack operations. However, I’m unsure if the exception handling is being handled properly, especially in terms of how exceptions are thrown and caught. ...
0
votes
1
answer
65
views
Bulk conditions evaluation throwing a single RuntimeException exception
Bulk conditions evaluation throwing a single exception of a configurable type for all unfulfilled conditions.
It is developed around several design patterns:
(1) fluent interface to configure the ...
user289021
7
votes
1
answer
874
views
Yet another finite state machine in C++
I know there are several implementation of FSM in C++ containing different set of features and written in different styles. Nevertheless, I've decided to write my own.
Here are some key points :
c++...
10
votes
3
answers
1k
views
Computing π(x): the combinatorial method
This is my C++ implementation of Computing π(x): the combinatorial method by Tomás Oliveira e Silva. The math involved is elementary number theory, but fiddly and not the focus here. I have ...
6
votes
2
answers
449
views
OOP Calculator Program
I am building a Calculator in C++ OOP style. I made 3 Classes:
UserInterface, which is responsible for Input and Output of the User.
Calculation, which is responsible for the logic of the Calculator.
...
3
votes
1
answer
216
views
Simulate an Automated Teller Machine (ATM)
(Game: ATM machine) Use the Account class created in Programming Exercise
9.7 to simulate an ATM machine. Create ten accounts in an array with id
0, 1, . . . , 9, and initial balance $100. The system ...
6
votes
2
answers
116
views
ADT vector in C++
I have created a vector ADT, and this is a brief code for all of you. I will further add some more methods in it.
Kindly review my below code:
...
8
votes
4
answers
984
views
7
votes
3
answers
481
views
First Java Program: A Basic GUI Library Management System with JavaFX
Requirements:
Add/Delete member.
Add/Delete book.
Issue/Return book.
Review Request:
General coding comments, bad practices, style et cetera.
Code:
Main.java:
<...
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
java × 727
python × 725
php × 650
c++ × 488
beginner × 478
c# × 442
design-patterns × 380
javascript × 371
python-3.x × 277
game × 214
classes × 131
performance × 121
inheritance × 103
algorithm × 91
mvc × 87
vba × 85
playing-cards × 84
ruby × 84
tic-tac-toe × 68
array × 67
mysql × 64
pdo × 62
.net × 58
ecmascript-6 × 58
more related tags
Hot Network Questions
- Symbols for A.P. Morse's book in Set Theory
- JK flip-flop timing diagram: is Wikipedia correct?
- When was the last time all humans were on the ground not in the air?
- Consecutive no-date author-year citations by the same author produce inconsistent suffixes
- About security concerns using in find -exec vs interactively performing the same task
- How to navigate in the Universe's Heat Death
- Will an error in two of my published papers affect my PhD thesis evaluation?
- When did the OEIS get even better?
- Early Sailing days in September 1066... Could Harold defeat William at Hastings, if it happened before Stamford Bridge?
- Confusing/incorrect sentence in proof of Zorn's Lemma in Lang's "Real and Functional Analysis"
- sum of squared distances between Farey neigbors
- In Jurassic Park, is the lysine dependency intentionally fake (in-universe)?
- Humans on alien planet get tailed by silent humanoids
- What does this word "ahn-shdah-heh" mean?
- Balancing a Holy Water Bomb
- Moving multiplying cells away
- The Russian president is struggling to pass a law now. Then, how much power does Kremlin have to initiate a congressional decision?
- Will a reinforced 1" concrete slab be durable?
- What is the weight of holy water?
- A question about as ..... as comparison
- How do I set up a recursive algorithm to repeatedly square root a positive real number?
- Extensions of diagonalizable, respectively multiplicative-type, groups
- "I met a monk and philosopher." How many people did I meet?
- What is the meaning of 'Tel.......,qui......'