Search found 1221 matches

by dafhi
Sep 28, 2018 7:51
Forum: Community Discussion
Topic: SOLID programming
Replies: 75
Views: 2935

Re: SOLID programming

your source is interesting enough that I'll read it before running. thanks a bunch!

[edit] m_color as int, line 156
by dafhi
Sep 23, 2018 21:08
Forum: Community Discussion
Topic: SOLID programming
Replies: 75
Views: 2935

Re: SOLID programming

That should do it. If I can come up with an example of where I'm having difficulty, that'd probably make things easier. Thinking I'll be quite busy for the foreseeable future. It could be weeks or months before I'm back in the programming game.
by dafhi
Sep 23, 2018 3:37
Forum: Projects
Topic: FB CAD
Replies: 160
Views: 74509

Re: FB CAD

you seem like a very positive guy.

[edit] .. to answer your question, how am i doing .. atm it's a tad rough. i get hit with these odd 'energy waves' which knock me about and obliterate my sense of direction. also my own energy can be extremely difficult to deal with
by dafhi
Sep 23, 2018 3:23
Forum: Projects
Topic: FB CAD
Replies: 160
Views: 74509

Re: FB CAD

i have a good memory :-) wondering how you are doing
by dafhi
Sep 23, 2018 3:01
Forum: Projects
Topic: FB CAD
Replies: 160
Views: 74509

Re: FB CAD

hi owen. i've been thinking about you
by dafhi
Sep 21, 2018 22:49
Forum: Community Discussion
Topic: SOLID programming
Replies: 75
Views: 2935

Re: SOLID programming

As much as I would like to write a fully-functioning path tracer, say, up to the level of Disney's Hyperion renderer, I'm not sure it's Really what I want to do. Will write more when I can
by dafhi
Sep 19, 2018 20:41
Forum: Community Discussion
Topic: SOLID programming
Replies: 75
Views: 2935

Re: SOLID programming

thank you sir. one day i'd like to write an oop tutorial. i think once i learn all the keywords i'll be able to write something good
by dafhi
Sep 19, 2018 20:08
Forum: Community Discussion
Topic: SOLID programming
Replies: 75
Views: 2935

Re: SOLID programming

Oh, so Interface Segregation was 'a piece of cake'? conceptually easy from a "customer is always right" view. The use of properties without encapsulation is an oxymoron. i misunderstood encapsulation. looking at the oop defiition, i see it includes the idea of restricting access to intern...
by dafhi
Sep 19, 2018 4:05
Forum: Community Discussion
Topic: SOLID programming
Replies: 75
Views: 2935

Re: SOLID programming

Dependency Inversion is the one I struggled with in the beginning. So far, I'd say the points I *like* best are Single Responsibility (which i am now somewhat familiar with) and Interface Segregation (which was a piece of cake) I'm tempted to quit using the Private, but continue with properties. If ...
by dafhi
Sep 18, 2018 9:21
Forum: Community Discussion
Topic: SOLID programming
Replies: 75
Views: 2935

Re: SOLID programming

paul doe wrote:It's interesting also to look at the other side of the coin: Object Oriented Programming is exceptionally bad. I find the quote by Edsger Dijkstra particularly amusing =D

".. which could only have originated in California." .. quite the sense of humor
by dafhi
Sep 18, 2018 9:13
Forum: Community Discussion
Topic: SOLID programming
Replies: 75
Views: 2935

Re: SOLID programming

And I find ".. should have only one reason to change" horrendous. Would you prefer 'should serve only one purpose' more appealing ? =D found something even better .. "Keep a class uncluttered with things you potentially don't need." In that vein, I think i've got something type ...
by dafhi
Sep 18, 2018 5:36
Forum: Community Discussion
Topic: SOLID programming
Replies: 75
Views: 2935

Re: SOLID programming

I'll finish today with a remark. I watched one of Mr. Martin's vids and he has a cadence that gathers attention much like a preacher. Actually the energy is identical. And I find ".. should have only one reason to change" horrendous.

The model however, is intriguing.
by dafhi
Sep 18, 2018 5:12
Forum: Game Dev
Topic: AI TANKS first draft
Replies: 90
Views: 4287

Re: AI TANKS first draft

sorry :P
by dafhi
Sep 18, 2018 4:59
Forum: Community Discussion
Topic: SOLID programming
Replies: 75
Views: 2935

Re: SOLID programming

krr. half the time I don't know where to create threads. So, to me, "A class should have only one reason to change" is highly confusing. For example, okay, here's a reason, I choose to change it to whatever type of programming model I want :D There's my ONE reason for it to change. :P Now,...
by dafhi
Sep 18, 2018 3:50
Forum: Community Discussion
Topic: SOLID programming
Replies: 75
Views: 2935

SOLID programming

This thread is meant to open discussion about the SOLID programming model. For starters, I have 1 question So I have my class MiniBits which is intended to have only one use. Questions arise though because I wonder if I'm making the class somehow too complicated. For the class to operate properly, t...

Go to advanced search