KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
class-design
32 questions
Follow Tag
Sort by:
Newest
Votes
Active
8
votes
2
answers
Writing mocks/stubs for an object before you have written the class for that object?
php
phpunit
class-design
asked 2012-01-18T09:24:10.220
17
votes
4
answers
When should you use friend classes?
c++
oop
class
class-design
friend
asked 2011-07-16T15:05:05.677
9
votes
2
answers
What are best practices for designing JavaScript classes that represent UI objects in the DOM?
javascript
oop
dom
class-design
dhtml
asked 2011-07-05T05:01:14.557
20
votes
5
answers
What is the logic behind having a mutable and immutable versions of classes like NSArray, NSDictionary etc in Objective C?
iphone
ios
objective-c
class-design
foundation
asked 2011-07-04T01:54:20.607
14
votes
4
answers
Class prototyping
c++
prototype
class-design
asked 2011-05-31T13:02:30.007
11
votes
3
answers
Core Data entity inheritance --> limitations?
iphone
inheritance
core-data
entity
class-design
asked 2011-05-26T16:44:28.873
16
votes
5
answers
To implement a property or to implement a subclass
c#
java
oop
architecture
class-design
asked 2011-05-15T13:03:42.907
10
votes
2
answers
C++: Bad practice to use friend classes instead of writing getters / setters?
c++
oop
design-patterns
class-design
friend
asked 2011-03-05T13:11:25.810
9
votes
9
answers
Question About Where To Position Try And Catch statements
c#
class-design
try-catch
asked 2011-02-14T20:36:00.220
19
votes
2
answers
What is the nicest toString builder class you have used or seen ? What made it nice
java
class-design
asked 2011-01-21T06:07:59.650
48
votes
5
answers
python circular imports once again (aka what's wrong with this design)
python
dependencies
class-design
python-import
asked 2010-10-17T23:30:47.527
45
votes
4
answers
why is java.lang.Throwable a class?
java
exception
class-design
asked 2010-05-23T00:45:54.203
10
votes
9
answers
Is there any point to an interface if only one class implements it?
refactoring
interface
class-design
asked 2010-05-18T01:53:23.717
13
votes
7
answers
Which is the better C# class design for dealing with read+write versus readonly
c#
design-patterns
architecture
class-design
asked 2010-05-10T18:15:07.063
14
votes
4
answers
What are the pros/cons of choosing between static and instance data access classes in a web app?
c#
asp.net
class-design
data-access-layer
asked 2010-01-20T01:07:39.007
158
votes
11
answers
Best practice: ordering of public/protected/private within the class definition?
oop
coding-style
class-design
asked 2009-11-19T04:22:20.903
194
votes
8
answers
PHP 5: const vs static
php
object
constants
class-design
static-members
asked 2009-11-06T07:10:18.107
16
votes
9
answers
How many methods can a C# class have
c#
.net
methods
class-design
asked 2009-09-12T17:30:54.993
13
votes
4
answers
Python Class vs. Module Attributes
python
attributes
class-design
module
asked 2009-08-09T06:04:50.340
12
votes
6
answers
Single Responsibility Principle: do all public methods in a class have to use all class dependencies?
class-design
single-responsibility-principle
asked 2009-07-13T09:26:04.713
9
votes
8
answers
Is it true I should not do "long running" things in a property accessor?
c#
vb.net
properties
class-design
asked 2009-05-19T15:37:19.550
14
votes
11
answers
How to decide between C# static and non-static methods?
c#
oop
class-design
asked 2009-04-28T13:48:58.820
22
votes
4
answers
Create class diagram from c++ source?
c++
class-design
asked 2009-04-01T09:22:18.687
714
votes
20
answers
Why is __init__() always called after __new__()?
python
class-design
design-patterns
asked 2009-03-23T17:13:01.187
46
votes
13
answers
How would you code an efficient Circular Buffer in Java or C#?
c#
java
class-design
asked 2009-02-26T11:02:23.113
21
votes
6
answers
"Public" nested classes or not
c#
class-design
nested-class
asked 2008-12-03T13:37:18.297
14
votes
12
answers
Should a c# class generate instances of itself?
c#
class-design
asked 2008-11-02T00:18:43.727
9
votes
5
answers
Large Inner classes and private variables
java
jboss
class-design
asked 2008-10-20T19:30:13.950
47
votes
6
answers
static const Member Value vs. Member enum : Which Method is Better & Why?
c++
class-design
asked 2008-10-15T14:42:33.287
76
votes
30
answers
How do you find a needle in a haystack?
oop
class-design
program-structure
asked 2008-08-22T23:49:32.697
47
votes
18
answers
List<BusinessObject> or BusinessObjectCollection?
c#
.net
generics
collections
class-design
asked 2008-08-22T03:25:09.487
128
votes
31
answers
Is UML practical?
uml
class-design
diagram
asked 2008-08-20T20:53:05.040