Tagged Questions
2
votes
2answers
129 views
MVC framework that uses classes instead of methods for actions
In most MVC frameworks, Controller class contains multiple methods, each representing one action. Then annotations and reflection is used to call those methods appropriately. But from OOP point of ...
2
votes
2answers
97 views
Exposing a Disposing event
I'm implementing a .NET class which implements IDisposable. After being disposed, the object's state is invalid and so nobody should be accessing it, of course.
There are some situations where two ...
0
votes
2answers
130 views
Implenting ActiveRecord with inheritance?
I recently converted an old application that was using XML files as the data store to use SQL instead. To avoid a lot of changes I basically created ActiveRecord style classes that inherited from the ...
2
votes
5answers
892 views
I feel unprepared to start my first job out of college… how can I improve? [closed]
I just graduated from university with a degree in Computer Science/Engineering and was fortunate enough to land a job working in the pharmaceutical industry as a developer. My title is System ...
6
votes
6answers
536 views
How is encapsulation used for safety?
I am learning OOP. I have studied much about encapsulation but the more I read the more I became confused.
I understand we hide (by making private) data and expose it to user of class (other ...
7
votes
3answers
1k views
websites that show real world scenarios for OOP beginners so that they can implement them
Since programmers learn more by implementing the real world scenarios rather then by gaining theoretical knowledge and concepts about programming, I wanted to know that is there any website that tells ...
3
votes
4answers
255 views
As a tooling/automation developer, can I be making better use of OOP?
My time as a developer (~8 yrs) has been spent creating tooling/automation of one sort or another. The tools I develop usually interface with one or more API's. These API's could be win32, WMI, ...
1
vote
1answer
569 views
Cheat notes for telephone interview (.NET /DBs, OO)
I am preparing for a telephone interview. I am thinking that instead of trying to memorize SOLID or ACID for example I could have some cheat notes ready.
So:
Any tips on how to organize them?
Where ...
2
votes
2answers
221 views
Putting it all together
I've been reading a few books on c# development over the last few months (clr via c#, architecting applications for the enterprise, c# 4 in nutshell just to give you an idea). I really feel it's been ...
5
votes
3answers
379 views
Architecture Question
I am writing a rules/eligibility Module.
I have 2 sets of data, one is the customer data and the other is the customer products data.
Customer data to Customer products data is one to many.
Now I ...
2
votes
3answers
259 views
Want to know performance issues of Class types & access modifiers
Someone suggested me to mark classes as SEALED that are not being inherited anywhere. I was using default style and was not concerned with the type of class. At present I don't have a benchmark tool ...
3
votes
2answers
172 views
Is it better to load up a class with methods or extend member functionality in a local subclass?
Which do you like better? Class #1:
public class SearchClass
{
public SearchClass (string ProgramName)
{ /* Searches LocalFile objects, handles exceptions, and puts results into m_Results. ...
11
votes
6answers
2k views
Convert from Procedural to Object Oriented Code
I have been reading Working Effectively with Legacy Code and Clean Code with the goal of learning strategies on how to begin cleaning up the existing code-base of a large ASP.NET webforms application.
...
7
votes
12answers
709 views
Any recommendations on a good Objected-Oriented book [closed]
I'm looking to really grasp OO once and for all.
Any recommendations on a good Objected-Oriented book?
I program in .Net, so if it's .Net oriented all the better.
Regards,
6
votes
5answers
3k views
Why C# doesn’t support multiple inheritance?
Even if it could be bad practices, I would say that there is time that it would fulfill its purpose.