davidn: (bald)
[personal profile] davidn
((Pile)state.piles.get(Integer.parseInt(carddata.getNamedItem("pile")
.getNodeValue()))).addCard(new Card(Integer.parseInt(carddata.getNamedItem("suit")
.getNodeValue()), Integer.parseInt(carddata.getNamedItem("value").getNodeValue())));
...is the most horrendous line of code that I've ever written. I hope it works, because I had forgotten what it meant by the time I reached the end of the line.

I'd also like to mention to whoever understands it that I've never liked the syntax for casting in Java. It looks untidy.

Date: 2005-12-18 02:49 pm (UTC)
From: [identity profile] tweeasfuck.livejournal.com
*hides under table in Code Fear*

Date: 2005-12-18 04:05 pm (UTC)
From: [identity profile] plette.livejournal.com
Yeah, well....

(Hats.("stylish")((((addInteger(sausage).throwSpaghetti).cookFoodItem("ham")).set_offFireAlarm).runaroundinPanic))

Or, um...something.

Date: 2007-05-30 05:50 pm (UTC)
From: [identity profile] starfishchris.livejournal.com
You need to get your piles problem looked at...

Expand Cut Tags

No cut tags

May 2020

S M T W T F S
     12
3456789
1011121314 15 16
171819 20 212223
24252627 28 2930
31      

Most Popular Tags

Style Credit

Page generated Mar. 10th, 2026 09:11 pm
Powered by Dreamwidth Studios