Search the web
Sign In
New User? Sign Up
leanprogramming · Lean Programming
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 709 - 738 of 762   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
709
Hi Everyone, I'd like to announce that, coming mid-April, I will be conducting an online course on the subject of database Agility through Net Objectives, Inc....
Max Guernsey, III
maxguernseyiii
Offline Send Email
Mar 18, 2009
3:04 am
710
Hello group, I'm a mac developer and I've been developing applications for about a year. I always design my applications using the OOP principles and I always...
Mario Q. Tan, Jr.
marioqtanjr
Offline Send Email
May 2, 2009
7:23 pm
711
It's pretty good, Mario. I'd shy away from a singleton that is read-write. I think of Singleton like slapping someone in the face: it's appropriate every once...
Max Guernsey, III
maxguernseyiii
Offline Send Email
May 2, 2009
7:50 pm
712
Max's points about Singleton are spot on, Mario. I'll just add the following two suggestions: 1) Generally, don't think about patterns as things you use...
Scott L. Bain
slbain9000
Offline Send Email
May 2, 2009
10:34 pm
713
Yeah. Scott's the one who got me to see that about the Singleton pattern. Before I knew him my advice RE: Singletons was "don't." Now it's "don't do it...
Max Guernsey, III
maxguernseyiii
Offline Send Email
May 2, 2009
10:58 pm
714
Thank you Max and Scott. @Max I'll take note about your singleton explanation. Actually, the main purpose of my wizard is for hardware configuration. It will...
Mario Tan
marioqtanjr
Offline Send Email
May 4, 2009
1:26 am
715
After reading many articles about singleton, I realize that using singleton that will have a global read-write access is not good since it will make your...
Mario Tan
marioqtanjr
Offline Send Email
May 4, 2009
3:46 am
716
Mario, I get what you are going for and I highly recommend that you avoid the Singleton if you can. For example: maybe you have two States in your problem....
Max Guernsey, III
maxguernseyiii
Offline Send Email
May 4, 2009
8:07 am
717
Max, Yeah. I realized that too. I'll probably revisit again my problem domain and discover an alternative solution rather than using a read/write Singleton....
Mario Tan
marioqtanjr
Offline Send Email
May 4, 2009
8:53 am
718
That would work. You could also simply use a value object, reference held in the base class, to store the accumulating state. The issue with Singleton is that...
Scott L. Bain
slbain9000
Offline Send Email
May 4, 2009
3:01 pm
719
Yeah. I clicked “send” and then saw your follow up post. That’s the problem with email: it’s not instant but it feels like it is. J Max Guernsey,...
Max Guernsey, III
maxguernseyiii
Offline Send Email
May 4, 2009
3:02 pm
720
…and then the value object could grow into a state if the need arose. Max Guernsey, III Managing Member, Hexagon Software <http://www.hexsw.com/>...
Max Guernsey, III
maxguernseyiii
Offline Send Email
May 4, 2009
3:05 pm
721
Excellent point! -S- From: leanprogramming@yahoogroups.com [mailto:leanprogramming@yahoogroups.com] On Behalf Of Max Guernsey, III Sent: Monday, May 04, 2009...
Scott L. Bain
slbain9000
Offline Send Email
May 4, 2009
3:12 pm
722
Scott, I'm still quite confuse about your suggestion that is why I would just like to clarify some of your points. :) 1.)You could also simply use a value ...
Mario Tan
marioqtanjr
Offline Send Email
May 5, 2009
1:32 am
723
It may be that I didn’t completely understand your problem, but if I did, this is what I mean… The states all derive from a common base class, typically....
Scott L. Bain
slbain9000
Offline Send Email
May 5, 2009
2:41 am
724
I see. It's now clear to me. Thanks a lot for all the suggestions (especially to Scott and Max). ________________________________ From: Scott L. Bain...
Mario Tan
marioqtanjr
Offline Send Email
May 5, 2009
3:03 am
725
hi, I am currently under the belief that while "tell don't ask" is a great rule of thumb for doing OO, it is not possible to do that all the way throughout the...
Raoul Duke
theraoulduke
Online Now Send Email
May 7, 2009
8:10 pm
726
"Tell Don't Ask" is a principle, not a practice, in my view. Principles are always evaluated, and at times are not followed, but this is always done...
Scott L. Bain
slbain9000
Offline Send Email
May 7, 2009
8:17 pm
727
(i asked this on the Kanban list; Alan suggested posting here, thanks!) what do we need to do to make sure folks who inherit the code for whatever reason can...
Raoul Duke
theraoulduke
Online Now Send Email
May 7, 2009
8:39 pm
728
Massive question.... In general, this is the reason Michael Feathers wrote his book "Working Effectively With Legacy Code", wherein he focuses on getting...
Scott L. Bain
slbain9000
Offline Send Email
May 7, 2009
8:50 pm
729
... many thanks for the thoughts and the link! to constrain the question somewhat (this is all relevant to a job i'm interviewing for), assume that the code is...
Raoul Duke
theraoulduke
Online Now Send Email
May 7, 2009
8:56 pm
730
Hey Scott, ... Yeah, I think ref/out expose a problem with separating command/query. Sometimes it feels like there's a hierarchy or chain of command among the...
Kim Grsman
kimgrasman
Offline Send Email
May 8, 2009
9:06 am
731
... No, there are other alternatives. (Disclaimer: I'm not going to argue that they are better, or that getters are bad practice in this case. I'm only arguing...
Ilja Preuß
ipreussde
Offline Send Email
May 8, 2009
9:57 am
732
This is a really interesting question. I am in a position right now where I have a lot of influence on a team where we are developing a green-field app. I just...
Jonas Andersson
jonananas
Offline Send Email
May 8, 2009
3:21 pm
733
Ceiling cat kind of sees what you did there… I have to ask this, though: Is invoking a getter not telling the object you want something from it? It’s not...
Max Guernsey, III
maxguernseyiii
Offline Send Email
May 8, 2009
3:48 pm
734
It's on a continuum of encapsulation. Un-Encapsulated: String street = Address.street; // public primitive data member, static. Might as well call it a...
Scott L. Bain
slbain9000
Offline Send Email
May 8, 2009
4:30 pm
735
... thank you for taking the time to share the perspective. it is definitely helpful, and is sparking some thoughts for me. i'm starting with the negatives...
Raoul Duke
theraoulduke
Online Now Send Email
May 8, 2009
5:57 pm
736
Hi Raoul. The question of inquisitive vs. assertive (ask vs. tell) is often in the eye of the beholder. The real question is not what Stuff you're having the...
Amir Kolsky
kolsky
Offline Send Email
May 9, 2009
4:01 am
737
Man, that was remarkably well said, Amir... ... From: "Amir Kolsky"<amir.kolsky@...> Sent: 5/8/09 9:00:47 PM To:...
Scott L. Bain
slbain9000
Offline Send Email
May 9, 2009
6:13 am
738
I'm having a little trouble understanding the continum. i don't understand the difference in what's being encapsulated in the first two, un-encapsulated and...
Aeden Jameson
bevelededges
Offline Send Email
May 9, 2009
8:39 pm
Messages 709 - 738 of 762   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help