A template for declaring a type of object.

learn more… | top users | synonyms (1)

0
votes
2answers
64 views

What is the difference between proxy class and delegation in Python?

Wiki: A proxy, in its most general form, is a class functioning as an interface to something else. The proxy could interface to anything: a network connection, a large object in memory, a file, ...
2
votes
0answers
125 views

How to build child classes as parent configuration?

I'm using Codeigniter PHP Framework for developing a web application, and when developing an admin zone, I've ended building a generic parent class called AdminController which is extended by the ...
0
votes
0answers
33 views

Should a class method have access to data from the app delegate?

I'm working on an iOS app with a codebase that the majority of I did not write. For the task at hand, I'm in a situation where I need a class method to have access to data that's returned through the ...
0
votes
0answers
96 views

Class design for Token, TokenType and regex constants

For use in a lexer class a have a class Token which represents a token of a specific type and its value, while the types are defined by the enum TokenType in which every token holds its own regular ...
0
votes
0answers
46 views

Internal class variables convention

When I see some open source projects, specifically classes, I see that its variables starts with a 'm' minuscule. What does it mean? What means the 'm'?