Skip to main content
New: Stack Overflow For Agents. The next generation of knowledge exchange. Learn more
Filter by
Sorted by
Tagged with
Filter by Employee ID
Best practices
0 votes
3 replies
41 views

I am building a simple school project, and the idea is that users form a group together, then an activity (for example movie activity), and then in that activity the app suggests movies for every ...
systemOverview's user avatar
Best practices
1 vote
7 replies
140 views

So I refactored my Huffman program for better OOP practices. Now, I need to make an array of coded objects that represent a character and its // C++ program to implement huffman coding #include <...
CSGuy's user avatar
3 votes
2 answers
162 views

I am making an application where one of the things a user can do is add items to a product with an associated amount. Items, products, and the amount of times each item is used in a product are all ...
Bumpyroadhill's user avatar
Advice
1 vote
2 replies
90 views

in java the primitives types like int, boolean, double,... are in lowercase and String is an object that's why it start with a capital letter(from what I know). But why is it the case in dart, ...
Jotunheim's user avatar
Advice
2 votes
4 replies
106 views

Please explain the mechanism of loading classes in PHP, and why the first example does not cause an error, but the second does? From documentation: Classes should be defined before instantiation (and ...
Jarry Roxwell's user avatar
Advice
0 votes
9 replies
198 views

Why do we need Classes and Objects when have functions where be can create functions for each and everything. In Python we have modules and packages we can work so why actually we need the Classes ...
DEV GUPTA's user avatar
Best practices
0 votes
3 replies
112 views

I've got a UdpPeer class: class UdpPeer { struct sockaddr_storage remoteAddr; socklen_t addrlen; public: UdpPeer(struct sockaddr_storage const& addr, socklen_t addr); void ...
pastor's user avatar
-4 votes
0 answers
81 views

I'm attempting to render a rotation cube in python using Pygame and an explanation from Tsoding's video on 3d graphics. One problem I keep encountering is all my positions reaching infinity or -...
ripe_onions's user avatar
1 vote
1 answer
67 views

https://jsfiddle.net/jenqhg3o/1/ A = { Foo: class { }, Bar : class extends A.Foo { constructor (){ console.log("test") } } } var a = new A.Bar() Is extending in this ...
user avatar
Advice
0 votes
4 replies
114 views

I want to learn OOP for an interview and understand how I can study it effectively within one month. Can I fully learn and understand the topic with ChatGPT's help and regular practice every day?
Vahe Muradyan 's user avatar
Advice
1 vote
9 replies
137 views

What if a beginner asks you a question about an object? How do you explain it? How does it work? What is the difference between a class and an object? Give a real-world example of an object.
Muhammad Azan's user avatar
Best practices
0 votes
5 replies
83 views

I am building an app that identifies geometric shapes. Currently, I use a single ShapeData class to store all shapes in a static list. My class uses a single field called volumeFormula for the ...
Loud's user avatar
Advice
2 votes
3 replies
188 views

we’ve used Object-Oriented Programming (OOP) to model the world through encapsulation, inheritance, and polymorphism. However, in large-scale enterprise systems, we often see OOP devolve into "...
李亚楠's user avatar
Advice
1 vote
5 replies
159 views

I am currently a second year college student. I am studying audio engineering/music with a minor in CS. As a summer project, I've decided to make a prototype of a rhythm game; this would combine both ...
zenith_m7b5's user avatar
Best practices
0 votes
2 replies
57 views

I’m designing an API for order batching and would like opinions on one specific design choice. Context: An API request gives me only a tenant_id From tenant_id, I load warehouse_layout From ...
Pepa Zdepa's user avatar

15 30 50 per page
1
2 3 4 5
4149