Omgili - forum search, search forums  
  

Discussions about large classes

Displaying 1 - 10 out of 149,174 discussions.  
RSS Feed Options
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
Hi. In a large Application is there any way to distinguish user-defined classes with built-in classes without checking ?
Started by on , 4 posts by 4 people.  
That means if you know the full name of the class of the class (including the....
Microsoft.CSharp.* or com.google.base.*.
Who is going to distinguish it? Developers? Classes? If Developers - Naming conventions If Classes, e.g.
One thing I've run into a few times is a service class (like a JBoss service) that has gotten overly large due to helper inner classes. I've yet to find a good way to break the class out. These helpers are usually threads. Here's an example: /** Asset...
Started by on , 7 posts by 7 people.  
Each class should not be reaching into the ....
I like to look to functional programming for guidance.
Also, I just want to note that refactoring a large class into smaller classes of these classes.
A tree than a graph.
This came up in a conversation I was having online, and it occured to me that I have no idea how this is supposed to work: Quite a lot of programmers seem to just take as a given- indeed, obvious that classes are a necessary language feature for managing...
Started by on , 11 posts by 11 people.  
Personally....
Objectively, how do you know that the use of classes fashion for a while.
I prefer classes so that I can divide a large problem into manageable pieces help to describe large applications naturally.
That helps.
Ask your Facebook Friends
I have a large 'Manager' class which I think is doing too much but I am unsure on how to divide it into more logical units. Generally speaking the class basically consists of the following methods: class FooBarManager { GetFooEntities(); AddFooEntity(...
Started by on , 5 posts by 5 people.  
If ....
CompanyManager, CustomerManager, etc.
I would start by splitting out your data access classes into one manager per object or related groups of objects, i.e.
You really shouldn't put all data access into one class unless it's generic.
I have a v-large number of hierarchical structures (or DTO's) that are shared across different business logic, application tiers, web service and WCF contracts. I want to refactor all of my code to split the structures into discreet business domain areas...
Started by on , 6 posts by 6 people.  
Http://www.jetbrains.com/resharper/features/code_refactoring.html#Rename I'll start with NDepend analysis to list dependencies (see this article : Control Component... .
They both have good support for refactoring.
Resharper/CodeRush can help with question# 1.
In virtually every project I've ever worked on, there will be one or two classes with the following properties: Extremely large with many many members and methods. Many other classes inheriting from this class. Many other classes otherwise depending on...
Started by on , 6 posts by 6 people.  
Some of....
This one: Many other classes inheriting from this class can be overcome by preferring SRP .
When a class starts to get too large it is usually because it starts to violate of that necessity.
To rethink the design.
I'm looking at using LINQ to SQL for a new project I'm working on, but I do not want to expose the LINQ classes to my applications. For example, do an select in link returns a System.Linq.IQueryable<> collection. As well, all the classes generated...
Started by on , 8 posts by 7 people.  
To go from the Linq to SQL classes to your classes is a matter of some fairly straightfoward considering the exact same thing....
There are, however, issues here.
On a reasonably large project and was quite pleased with the results.
This is very basic stuff , but here goes. I find that I am never able to agree with myself whether the way I split large classes into smaller ones make things more maintainable or less maintainable. I am familiar with design patterns , though not in detail...
Started by on , 8 posts by 8 people.  
A large classI'll address this The YadaKungFooFileValidator class and the YadaKungFooFile class seem to be very strongly coupled by this design....
Three of those responsibilities puts too much responsibility on that single class.
Should have asked someone this a long time ago. What is the best way to use other classes within another class? For instance, lets say I have an application class: class Application { public function displayVar() { echo 'hello world'; } } and a database...
Started by on , 4 posts by 4 people.  
Any reference to it from within an instance of Application would be done via... .
Final class$db could be a property of your Application class.
A Singleton and all other classes that need database access would call upon this singleton.
What is the difference between business class and domain class? What is meant by persistent classes?
Started by on , 6 posts by 6 people.  
It can be the same as the domain ....
A business class is one that your application works with.
A database) to an in-memory object.
It is typically used to map data from your data store (e.g .
A "domain" class is one that models your data.
Page: 1   2   3   4   5   6   7   8   9   10  
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost