Search the web
Sign In
New User? Sign Up
pinoyjug
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

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 18522 - 18551 of 19877   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
18522
being a Martin Fowler a**-kisser.. would rather ensure with null objects<http://en.wikipedia.org/wiki/Null_Object_pattern>instead...
Michael Mallete
mykmallete
Offline Send Email
Jul 1, 2008
7:29 am
18523
... I agree - I'd rather keep the NPE as a 'marker' exception thrown by the JVM to indicate an unexpected FUBAR. I also tend to agree with Zorlac with creating...
Alistair Israel
aisrael
Offline Send Email
Jul 1, 2008
7:29 am
18524
Hi Guys, Can some one give me some insight on how to establish an intranet application. - What is the best approach - Can I install it in Windows 2000 server -...
edongcg
Offline Send Email
Jul 1, 2008
7:29 am
18525
... In Ruby, nil is a singleton object of class NilClass (of which there's only one instance) and that's the default value for uninitialized references. The...
Alistair Israel
aisrael
Offline Send Email
Jul 1, 2008
8:55 am
18526
Depending on what features you require, you can leverage on some open source projects out there. Look into some CMS and Wiki projects. Take a look at Apache ...
Michael Mallete
mykmallete
Offline Send Email
Jul 1, 2008
8:55 am
18527
you got me there :p it's more of pushing the exception or whatever behavior we want to happen to the parameter being passed instead of the method reacting to...
Michael Mallete
mykmallete
Offline Send Email
Jul 1, 2008
9:21 am
18528
IMHO, NPE is fine because it's not really an "illegal argument" per se if you pass in an uninitialized object of the correct type. (What if you didn't know it...
Jay Quiambao
jay_eat_world
Offline Send Email
Jul 1, 2008
10:35 am
18529
Our department want to gather some info if incase we move in to intranet application. Apache lenya is more on XML can it connect to Database and can it call...
edongcg
Offline Send Email
Jul 1, 2008
10:36 am
18530
Also agree that throwing NPE is fine. After all, the JDK libs throw it around quite liberally. But this largely comes down to the person's preference;...
Wayne See (O&B)
weynsee
Offline Send Email
Jul 1, 2008
11:20 am
18531
I also think throwing NPE is fine; I consider it as "following standards" because it mimics the behavior of the standard APIs. ... From: Miguel Paraz...
Rad
magnusrad
Offline Send Email
Jul 1, 2008
11:31 am
18532
... This violates the keep-your-class-hierarchy-simple principle. Does this new class justify its existence? I read about this principle somewhere, but I don't...
Miguel Paraz
mparaz
Offline Send Email
Jul 1, 2008
1:26 pm
18533
Regarding null parameter detection... Do you guys know @Nullable/@NotNull annotations introduced in IDEA a while ago? I guess there should be something similar...
marc_polizzi
Offline Send Email
Jul 2, 2008
8:10 am
18534
also found the @Required annotation useful in Spring-based apps...
Michael Mallete
mykmallete
Offline Send Email
Jul 2, 2008
3:56 pm
18535
There's an on going JSR for the @Nonnull annotation and other similar annotations. JSR-305 provides annotations that can assist defect detection tools such as...
Jay Quiambao
jay_eat_world
Offline Send Email
Jul 2, 2008
3:56 pm
18536
... Like, say, JSR 303 - bean validation through annotations? Annotations hell, here we come (and I used to be a big fan of them): @Entity @Table(name =...
Alistair Israel
aisrael
Offline Send Email
Jul 3, 2008
5:10 am
18537
I'm basically against that JSR ;-) I do not think that pre-condition/post-condition should be done via the annotations mechanism. Talking back to the @Nullable...
marc_polizzi
Offline Send Email
Jul 3, 2008
8:21 am
18538
Hi, Is there anybody who have a voucher for java certification (SCJP) and want to sell it. Please pm me or email me. Thank you. See what your future holds -...
cli4d pine
cli4dpine
Offline Send Email
Jul 3, 2008
8:21 am
18539
Question... Why do you need to check if the argument of method() is null? You're also going get a null pointer just the same if you use the object reference if...
Melvin Dave Vivas
bugsy_700
Online Now Send Email
Jul 3, 2008
1:39 pm
18540
Well I think is they are aiming for early detection of Null parameter.. maybe they are avoiding doing several logics to be executed when the parameter is...
Johnny R. Ruiz III
jorzi
Online Now Send Email
Jul 3, 2008
3:09 pm
18541
imho, the key part is the message that you would include in the NPE. Nothing is more frustrating than to see an NPE in libraries that doesn't say which object...
Adrian Co
exst_aco
Offline Send Email
Jul 3, 2008
3:10 pm
18542
Hi, all! Orange & Bronze Software Labs is still in need of Architects, Senior Software Engineers, and Mid-Level Software Engineers. We have exciting projects,...
Calen Martin D. Legaspi
calenmartin
Offline Send Email
Jul 4, 2008
1:51 am
18543
It can be useful to detect at object creation time when you store in a field a non-expected null value as the NPE is more likely to occur much later when you...
marc_polizzi
Offline Send Email
Jul 4, 2008
2:26 am
18544
because w/ early detection of null you can do something w/ your code in a cleaner way. actually there are many reasons why you shouldn't catch a...
vergil santos
gilsaints88
Offline Send Email
Jul 4, 2008
2:26 am
18545
Hi Jake, As far as I know, most LiveCD's now have automount (tried Fedora9, BackTrack3), so it should not be an issue. I agree with sonnyG that small distros...
Xander Solis
xrsolis
Offline Send Email
Jul 5, 2008
8:04 am
18546
Oh. I think mine was a bad example. :))...
Melvin Dave Vivas
bugsy_700
Online Now Send Email
Jul 5, 2008
8:04 am
18547
Yup, re the LiveCDs, can't think of any except Knoppix 5.3 (not sure 'bout the true Java IDE though, probably JDEE, ViM, Joe, etc.). Your option of configuring...
Eliseo B. Herrera Jr.
herr002001
Offline Send Email
Jul 6, 2008
1:51 pm
18548
Thank to everyone who replied to my e-mail. As for what happened to my live Java CD: 1. I tried VirtualBox--pretty impressive for me (it can be my MS VirtualPC...
Jacob Catayoc
ultimateavatar
Offline Send Email
Jul 6, 2008
3:22 pm
18549
Hello group... Wow. Great ideas you got there. However, I have to agree with Melvin on this. I think there is a reason why a NullPointerException (aka NPE) is ...
Bob Dale Ocer
crypto_algo
Offline Send Email
Jul 7, 2008
3:44 am
18550
Bob, Well you are right that it really depends .. but what do you think about this piece of code.. public Object doStuff(Object theParameter) { Object...
Johnny R. Ruiz III
jorzi
Online Now Send Email
Jul 7, 2008
5:20 pm
18551
Medyo late... http://randell.ph/geeky/2008/07/07/sun-tech-days-2008-manila/...
Randell
josephrandell.benavid...
Send Email
Jul 7, 2008
5:20 pm
Messages 18522 - 18551 of 19877   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