Search the web
Sign In
New User? Sign Up
straight_talking_java · Former JDJ Straight Talking list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

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 53513 - 53542 of 60595   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
53513
... Extensive if...else logic (or this ternary alternative) are usually a sign of a design problem or limitation. If I have any choice-logic that is more than...
Eric Rizzo
asmalltalker
Online Now Send Email
Jan 2, 2007
3:14 am
53514
... Verbosity is not a take-it-or-leave-it thing, of course. But I don't know what to say in response to someone claiming they "like" result = (blah != null) ?...
Eric Rizzo
asmalltalker
Online Now Send Email
Jan 2, 2007
3:23 am
53515
... if-then-else is a lost opportunity for polymorphisum. The hidden purpose of if-then-else is to recapture state that has been lost. The best way to capture...
Kirk Pepperdine
kcpeppe
Offline Send Email
Jan 2, 2007
2:02 pm
53516
... +1 Its funny, but examples of such logic that people give almost always involves typing, which is exactly what the point of O dispatch is. The fact that...
Miles Parker
lodro_s
Offline Send Email
Jan 2, 2007
2:20 pm
53517
... Still, YANPM :) that you either have to include it somewhere in the class chain, maintain a (prob. singleton) delegate, or use yet another static utility...
Miles Parker
lodro_s
Offline Send Email
Jan 2, 2007
2:23 pm
53518
The problem with this particular case ... is not the ternary operator, but the use of null. While this is a common use of ternary, it should not be...
gjfdh
Offline Send Email
Jan 2, 2007
4:06 pm
53519
That's all well and good and quite true, but the issue here is that one cannot override the objects because one is getting them passed in, e.g. as parameters...
Miles Parker
lodro_s
Offline Send Email
Jan 2, 2007
9:36 pm
53520
I just wanted to shout out a big THANK YOU for whoever started the "Firefly" thread. Because of that I checked out the dvd's from Netflix and I think it's...
Curtis Cooley
TheDarkSavant
Offline Send Email
Jan 2, 2007
10:32 pm
53521
+1 I was really disappointed when it just came to a sudden end. I knew it did, of course, but still... shen sheng de gao wan! @D ... [Non-text portions of this...
David Gallardo
bromo_man
Offline Send Email
Jan 2, 2007
11:20 pm
53522
... If you think it is difficult to get this point across to programmers, try explaining Double Dispatch to non-Smalltalkers! ;-) Eric...
Eric Rizzo
asmalltalker
Online Now Send Email
Jan 3, 2007
3:31 am
53523
... The countervailing force on this is the scattering of rules across many classes. While I know it's the Object Way (tm) it can make code comprehension...
Rod McChesney
rod_mcchesney
Offline Send Email
Jan 3, 2007
4:04 am
53524
Hi Eric, ... I tried and got hammered.... it is somewhere on developerworks. ... [Non-text portions of this message have been removed]...
Kirk Pepperdine
kcpeppe
Offline Send Email
Jan 3, 2007
5:30 am
53525
... It is a real problem that isn't overlooked. In fact the estimate is that 60% of developers trained in the functional paradigm will not be able to ...
Kirk Pepperdine
kcpeppe
Offline Send Email
Jan 3, 2007
5:33 am
53526
I see this sometimes when I'm working on code originally developed by other people. (A famous philosopher said, I think, "Hell is other people's code.") ...
David Gallardo
bromo_man
Offline Send Email
Jan 3, 2007
8:39 am
53527
... I think one of the things that tells me that I'm going in the right direction is that there is always less when I'm done than when I started. Funny story...
Kirk Pepperdine
kcpeppe
Offline Send Email
Jan 3, 2007
11:59 am
53528
More and more for me the main issue here is really the miserly way that Java has implemented OO and as others have mentioned the major and minor apis that have...
Miles Parker
lodro_s
Offline Send Email
Jan 3, 2007
1:21 pm
53529
... Man I wish people would learn this lesson. We are in the process of orphaning a system which has obviously reached its (poor) design limits. I keep telling...
Scot Mcphee
scotartt
Online Now Send Email
Jan 3, 2007
1:49 pm
53530
Hi Scot, Up until recently I've been asked to refactor or pull components out of software that looks like yours sounds like it looks like. The only advice I...
Kirk Pepperdine
kcpeppe
Offline Send Email
Jan 3, 2007
2:11 pm
53531
Oh, and for those who haven't looked at the code recently and lest anyone doubt: class Component... ... * Note that if the event parameter is <code>null</code>...
Miles Parker
lodro_s
Offline Send Email
Jan 3, 2007
2:20 pm
53532
... <rant> I've been giving some thought on how to respond to this, and after taking time to ponder my response, I've come up with: That's a load of crap! ... ...
David Rosenstrauch
darose2
Offline Send Email
Jan 3, 2007
3:41 pm
53533
I'll grant this is not great OO. And there's obviously numerous ways to do it better. But as I'm always interested in learning how to do things better, that...
David Rosenstrauch
darose2
Offline Send Email
Jan 3, 2007
3:44 pm
53534
... Maybe you missed it but I did say at some level capturing state *isn't* worth the effort. That implies that at some point in time you'll have to use and...
Kirk Pepperdine
kcpeppe
Offline Send Email
Jan 3, 2007
5:21 pm
53535
David I agree with you in practice, just not in theory. :) Agreed, it would be crazy to try to pretend to do "pure OO" in Java -- that was the point of *my*...
Miles Parker
lodro_s
Offline Send Email
Jan 3, 2007
5:38 pm
53536
... Kirk pointed out that his indicator is that when he is done, there is less code. I use a similar indicator, but mine is duplication. When faced with the...
Curtis Cooley
TheDarkSavant
Offline Send Email
Jan 3, 2007
5:47 pm
53537
... Oops, the sentence got cut off. I was saying, ugly API code such as Swing event handling pretty much forced you to follow along so you'll be ugly also......
Kirk Pepperdine
kcpeppe
Offline Send Email
Jan 3, 2007
6:22 pm
53538
There is an article on the Sun Developer Network concerning the US dst changes coming in March 2007:...
victor.grazi@...
vgrazi899
Offline Send Email
Jan 3, 2007
6:22 pm
53539
DR, You know I respect you a great deal, but the only thing that is "going off the deep end" in this thread is your jump-to-conclusion response. Kirk and I and...
Eric Rizzo
asmalltalker
Online Now Send Email
Jan 3, 2007
6:45 pm
53540
... always returns the number of millseconds since epoc which is the same as the unix epoc AFAIR. - kirk...
Kirk Pepperdine
kcpeppe
Offline Send Email
Jan 3, 2007
7:00 pm
53541
System.currentTimeMillis() returns a long value representing the number of seconds since 1 Jan 1970 UTC, (with a built-in, and incorrect, assumption that there...
David Gallardo
bromo_man
Offline Send Email
Jan 3, 2007
7:00 pm
53542
still not clear - I assume System.currentTimeMilles() inspects the system (this case Windows) time and so if you create a new Date with that long value it will...
victor.grazi@...
vgrazi899
Offline Send Email
Jan 3, 2007
7:27 pm
Messages 53513 - 53542 of 60595   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