PDA

View Full Version : Design Books



Wraithan
09-03-2007, 05:55 PM
I am looking for another good book on Design, I have Design Patterns by the GoF, and Design Patterns Explained. Now I am looking for something else on the subject to read in my spare time.

Any suggestions are welcome, C++ language specific is fine, but that is the only language specific I really care to read about for this stuff, (that is not to say that if a book uses Java for its examples I don't want to read it, but if it is specifically for Java design, no thank you)

CornedBee
09-03-2007, 06:00 PM
I found Multi-Paradigm Design in C++, by James Coplien, a fascinating (if very heavy) read.

kroiz
09-05-2007, 12:34 AM
I loved Head first Design patterns.

laserlight
09-05-2007, 12:44 AM
I agree, Head First Design Patterns is a good read.

CornedBee
09-05-2007, 04:05 AM
Hmm, but is that another design patterns book?

Don't get me wrong, design patterns are useful and even important, but in order to apply design patterns, you typically need a sound high-level design first.

indigo0086
09-05-2007, 05:56 AM
http://ec1.images-amazon.com/images/I/51erdv4yRaL._SS500_.jpg

I'm in.

QuantumPete
09-05-2007, 06:40 AM
http://ec1.images-amazon.com/images/I/51erdv4yRaL._SS500_.jpg

I'm in.

That reminds me of a splash screen when you install MS Visual Studio. Lots of "pretty" people with laptops sitting in a park and having a fun afternoon with VS in the style of: "What are we going to do this afternoon?" "Let's go down to Kensington Gardens and take Visual Studio, then we can create really well-structured multi-language applications".

I know that 'sex sells', but when it comes to programming languages, surely not?

QuantumPete

Wraithan
09-05-2007, 07:29 AM
Looking into both, will probably go wit Multi-Paradigm Design in C++ though, since CornedBee has a point, I do need to look into other parts of design aside from Design Patterns, though I may check out Head First Design Patterns, since design patterns are really interesting to me, especially after starting to use them and learning how to think in the higher level scope that is required for designing good software.

indigo0086
09-05-2007, 07:40 AM
I'm not entirely clear on the applications of Design Patterns. I was wondering does it have use in other fields of programming such as game development or graphics programming or is it geared more toward Corprate, business software?



I know that 'sex sells', but when it comes to programming languages, surely not?


It actually culls toilet reading productivity.

CornedBee
09-05-2007, 07:47 AM
Design Patterns are tried and tested solutions for specific problems. Sort of the building blocks of designs. Patterns come in various "sizes", you could call it, depending on where in the design you apply them. For example, the best-known patterns like Factory, Singleton etc. are applied at the class design level.
Some design patterns may be domain-specific, but most are generic. There is no reason not to apply a Factory pattern to game designs. Singletons are often considered for things like the game engine (and then thrown away again, because true singletons in C++ suffer from various problems if they need complex initialization and shutdown).

Fordy
09-05-2007, 09:33 AM
I know that 'sex sells', but when it comes to programming languages, surely not?

Are you kidding. Most programmers I have come across would do anything for a sexy smile. Why do you think so many lazy students pose as dizzy-headed girls when trying to get someone to do they're homework for them.

QuantumPete
09-05-2007, 09:39 AM
Why do you think so many lazy students pose as dizzy-headed girls when trying to get someone to do they're homework for them.

I went to an all-boys school ;-)

QuantumPete

kroiz
09-05-2007, 12:41 PM
=
I know that 'sex sells', but when it comes to programming languages, surely not?
QuantumPete

I don't see what that picture got to do with sex, just a nice girl pictured from an angle her head seem big. all the head first book series has people pictured from that angle, people of all genders and cocasain.

kroiz
09-05-2007, 12:46 PM
Looking into both, will probably go wit Multi-Paradigm Design in C++ though, since CornedBee has a point, I do need to look into other parts of design aside from Design Patterns, though I may check out Head First Design Patterns, since design patterns are really interesting to me, especially after starting to use them and learning how to think in the higher level scope that is required for designing good software.

The Head First Design Patterns book really does a great job at teaching the principles of good object oriented programming and it does that with interesting design patterns.
I really recommand it.
It is also very easy and fun to read.

indigo0086
09-05-2007, 12:59 PM
I don't see what that picture got to do with sex, just a nice girl pictured from an angle her head seem big. all the head first book series has people pictured from that angle, people of all genders and cocasain.

Sorry, blonde chick with pigtails, tank top with bra straps showing...barefoot. It just screams, "I need to be impregnated to pay for college"

kroiz
09-07-2007, 03:04 PM
The media is making us look at all women as sex objects



class sex
{
void doit()
}

class Women : public sex
{
void feel();
void desire();
void bleed();
}

class Men : public sex
{
void hunt();
private:
void feel();
void desire();
}

class Media
{
friend class Men; // cause it's a men world
// slice a woman to make a sex object
Sex publish(Women* w)
{
return w;
}
}

prog-bman
09-07-2007, 04:45 PM
Umm. It's a book cover?

indigo0086
09-07-2007, 05:01 PM
errata

class members are private by default. So you would have to specify all of the women's members with public, and the men's private: is redundant.

robwhit
09-07-2007, 05:19 PM
todo

doit should return a value.

indigo0086
09-07-2007, 05:45 PM
Oh god.

robwhit
09-07-2007, 05:54 PM
sorry.

prog-bman
09-07-2007, 06:34 PM
The question is: what value should it return?

indigo0086
09-07-2007, 06:45 PM
I'm sure a double.

prog-bman
09-07-2007, 06:58 PM
Hmmm it could also return this


class Child{
public:
Child()
{
//Oh boy
mMonthlyCostIncrease = 600.00;
}
private:
double mMonthlyCostIncrease;
};

class Sex{
public:
Child DoIt()
{
return Child();
}
};

robwhit
09-07-2007, 07:21 PM
I'm sure a double.hard limits are bad.

basic_ostream<double>

kroiz
09-07-2007, 10:10 PM
errata

class members are private by default. So you would have to specify all of the women's members with public, and the men's private: is redundant.
I know that was intensional.
men feelings and desires are private and no men would share them!

indigo0086
09-07-2007, 11:18 PM
Basically you should switch class with struct.

twomers
09-08-2007, 06:29 AM
I'm not certain but I don't think making babies is what W was talking about ...

Wraithan
09-12-2007, 10:51 PM
Back on topic a bit, I went and got it, and wow, has some REALLY cool stuff, but so far about I feel like it is over my head quite a bit, hopefully the second time though will make everything click a lot better, the recursive template processing is very cool though. Many thanks for the recommendation.