Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Your Worst Debugging Nightmares

Author
Message
Fallout
22
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 14th Feb 2011 08:22 Edited at: 14th Feb 2011 08:23
Quote: "Plus the first part might have been around since I first started here, which was 2000 I believe (same month as Indi), if you forget about the new fangled Apollo forums"


Can't remember the month, but I'm a 2000er as well. I remember the switch to the new forums, but it looks like you defected 5 days before me. Desperate to write a biblically portioned post, no doubt.

And who can forget Raven? A legendary know-it-all, who in fact knew very little, but managed to fill in vast chasm sized blanks with bombastic blagging.

I used to have a goat, but he got it a long time ago.

Dazzag
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Cyprus
Posted: 14th Feb 2011 14:23 Edited at: 14th Feb 2011 14:24
Quote: "looks like you defected 5 days before me. Desperate to write a biblically portioned post, no doubt"
I thought Rich copied the old accounts over but couldn't use our original dates for some reason? I remember pitching it to him at the time, to no effect He did listen about my idea for showing from the start of new posts though. Whoo! Heh, but yeah at the time I was right trying to get the highest post count. I think Indi was top (by miles) and I was third or fourth. When Apollo came along I gave up on it...

Quote: "A legendary know-it-all, who in fact knew very little"
He was alright, although I remember got a little confused between DS and Gamecube hardware (if I remember rightly)...

Cheers

I am 99% probably lying in bed right now... so don't blame me for crappy typing
Current fave quote : "She was like a candle in the wind.... unreliable...."
Diggsey
19
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 14th Feb 2011 15:51 Edited at: 14th Feb 2011 15:54
@Neuro Fuzzy

str+="*";

Is the same as:

str = str + "*";

You are assigning a new object to str, not changing the value (strings in Java are immutable) while mystr still refers to the old empty string.

You could however pass in a mutable string class such as StringBuilder, and the code would work with only a few modifications.

[b]
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 19th Feb 2011 20:16
Quote: "A good programmer spends more time thinking about his code than actually writing it..."


Surely this isn't true? Well, in the literal sense. I like to plan my classes in something like Visio beforehand, but I often *never* do. Even in my career I almost always do forms of extreme programming, where flying by the seat of my pants is the norm.

Quote: "And who can forget Raven? A legendary know-it-all, who in fact knew very little, but managed to fill in vast chasm sized blanks with bombastic blagging."


Yah, he was ok on MSN and playing co-op Gears of War on Xbox. Lord only knows where he got the time to write so many essays on here. I still remember his famous E3 threads where he had about a dozen excuses for not showing us his game. Come to think of it I don't think I ever saw a single screenshot of anything he's done


Senior Web Developer - Nokia
Indicium
16
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 19th Feb 2011 22:24
You can't perform arthritic functions on strings in java?

Dazzag
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Cyprus
Posted: 20th Feb 2011 20:50 Edited at: 20th Feb 2011 20:50
Quote: "Surely this isn't true?"
Depends what you are doing and for who. Most of the time I spend more time coding stuff than designing as I know the system inside out at work now (16 years). But some of the stuff I do we have multiple conference calls, a few meetings, loads of versions of designs (although flow charts, structure diagrams etc were thrown out years ago) etc for every job. Some stuff is just too complicated (I'm thinking special offer pricing algorithms for a recent job).

Cheers

I am 99% probably lying in bed right now... so don't blame me for crappy typing
Current fave quote : "She was like a candle in the wind.... unreliable...."
Diggsey
19
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 20th Feb 2011 20:55
Quote: "You can't perform arthritic functions on strings in java?"


You can use the "+" operator on strings in java, it is the exception

[b]
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 20th Feb 2011 23:18
Quote: "Also i see by your name it says Silver Codemaster. Im curious as to what it mean"

2nd place in community competition.

"Only the educated are free" ~Epictetus
"Imagination is more important than knowledge..." ~Einstein
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 21st Feb 2011 04:06
Cool

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.

Login to post a reply

Server time is: 2025-05-22 09:34:10
Your offset time is: 2025-05-22 09:34:10