Re: Stupidest code of the day
From: Jesper Nordenberg (megagurka_at_yahoo.com)
Date: 01/20/05
- Next message: KV: "Re: enterprise application versus enterprise system"
- Previous message: dar7yl: "Re: Simple socket conumdrum"
- In reply to: akizub_at_yahoo.com: "Re: Stupidest code of the day"
- Next in thread: akizub_at_yahoo.com: "Re: Stupidest code of the day"
- Reply: akizub_at_yahoo.com: "Re: Stupidest code of the day"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 20 Jan 2005 00:07:08 -0800
akizub@yahoo.com wrote in message news:<1106165953.163447.184610@c13g2000cwb.googlegroups.com>...
> The same is here. See the difference:
> Foo foo=null;
> System.out.println(""+foo);
> or
> System.out.println(foo);
>
> So, the first one make perfect sense! When second one crashes flow.
Neither example crashes or throws an exception, they both just print
"null". What's your point?
/Jesper
- Next message: KV: "Re: enterprise application versus enterprise system"
- Previous message: dar7yl: "Re: Simple socket conumdrum"
- In reply to: akizub_at_yahoo.com: "Re: Stupidest code of the day"
- Next in thread: akizub_at_yahoo.com: "Re: Stupidest code of the day"
- Reply: akizub_at_yahoo.com: "Re: Stupidest code of the day"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]