Stupidest Programming Mistakes

Let's Hear Them

  • (5 Pages)
  • +
  • « First
  • 3
  • 4
  • 5

65 Replies - 7247 Views - Last Post: 19 March 2009 - 11:40 AM

#49 Raynes   User is offline

  • D.I.C Lover
  • member icon

Reputation: 616
  • View blog
  • Posts: 2,815
  • Joined: 05-January 09

Re: Stupidest Programming Mistakes

Posted 12 March 2009 - 05:20 PM

View PostAdamSpeight2008, on 12 Mar, 2009 - 04:13 PM, said:

@Hyper What are "Coodies"?


I believe she was attempting to use my age to get a witty advantage over me, but failed. Her "Unless his mom needs him first." pun was much better.
Was This Post Helpful? 0
  • +
  • -

#50 KYA   User is offline

  • Wubba lubba dub dub!
  • member icon

Reputation: 3213
  • View blog
  • Posts: 19,241
  • Joined: 14-September 07

Re: Stupidest Programming Mistakes

Posted 12 March 2009 - 06:35 PM

View PostRaynes, on 12 Mar, 2009 - 02:06 PM, said:

View PostHyper, on 12 Mar, 2009 - 12:31 PM, said:

No actually, I removed the words 'cause they're irrelevant to the mistake itself. :)


She uses anagrams of KYA's real name as variable names and she didn't want us to find her out.



:lol:
Was This Post Helpful? 0
  • +
  • -

#51 Hyper   User is offline

  • Banned

Reputation: 108
  • View blog
  • Posts: 2,129
  • Joined: 15-October 08

Re: Stupidest Programming Mistakes

Posted 12 March 2009 - 07:54 PM

Raynes, I swear to God... Stop it. -_-
Was This Post Helpful? 0
  • +
  • -

#52 Raynes   User is offline

  • D.I.C Lover
  • member icon

Reputation: 616
  • View blog
  • Posts: 2,815
  • Joined: 05-January 09

Re: Stupidest Programming Mistakes

Posted 12 March 2009 - 08:36 PM

View PostHyper, on 12 Mar, 2009 - 06:54 PM, said:

Raynes, I swear to God... Stop it. -_-


<3
Was This Post Helpful? 0
  • +
  • -

#53 Hyper   User is offline

  • Banned

Reputation: 108
  • View blog
  • Posts: 2,129
  • Joined: 15-October 08

Re: Stupidest Programming Mistakes

Posted 12 March 2009 - 08:58 PM

<3 you too, Raynes. :D
Was This Post Helpful? 0
  • +
  • -

#54 erik.price   User is offline

  • D.I.C Lover
  • member icon

Reputation: 486
  • View blog
  • Posts: 2,690
  • Joined: 18-December 08

Re: Stupidest Programming Mistakes

Posted 13 March 2009 - 02:07 PM

View PostHyper, on 12 Mar, 2009 - 10:58 PM, said:

<3 you too, Raynes. :D

Damn you Hyper! I almost made it three months! ****** :crazy:

This post has been edited by erik.price: 13 March 2009 - 02:09 PM

Was This Post Helpful? 0
  • +
  • -

#55 Hyper   User is offline

  • Banned

Reputation: 108
  • View blog
  • Posts: 2,129
  • Joined: 15-October 08

Re: Stupidest Programming Mistakes

Posted 13 March 2009 - 02:07 PM

Thanks

This post has been edited by Hyper: 13 March 2009 - 06:00 PM

Was This Post Helpful? 0
  • +
  • -

#56 Bort   User is offline

  • Ill-informed Mongoloid
  • member icon

Reputation: 451
  • View blog
  • Posts: 3,114
  • Joined: 18-September 06

Re: Stupidest Programming Mistakes

Posted 17 March 2009 - 08:54 AM

Well, it's good to see that this thread stayed on topic...Guess what, it's going back :)

I just made a slight error in html/javascript. I've got an assessment for uni, and one of the questions was 'What can be done to make this code better?' asking us about best practices.

One of the things being drummed into us is the use of html comment tags to hide javascript text blocks ( as in <!-- ... -->. One of the requests for this assignment is to present everything in an html web page.

So, here I go copying my rewritten notes from Word into my html document, then sit there for half an hour trying to work out why only the first few lines of my write up is being displayed.

Then it hit's me, in the middle of my text, I have said the html comment tags (and typed the tags themselves in) should go just inside the <script> tags...

Now, I need to go work out a way of getting those tags to appear on the page, instead of blocking out most of my answer lol.

Oops.

Edit: Just fixing typos :)

This post has been edited by Bort: 17 March 2009 - 08:58 AM

Was This Post Helpful? 0
  • +
  • -

#57 Daegan   User is offline

  • D.I.C Head
  • member icon

Reputation: 5
  • View blog
  • Posts: 67
  • Joined: 17-March 09

Re: Stupidest Programming Mistakes

Posted 18 March 2009 - 12:19 AM

Doing a C# web app that takes 2 RSS streams and combines them into one using a list.

It wasn't outputting any of the items, my boss and I had no idea why. Another programmer looks at it for 3 minutes and sees that neither of us caught the fact that we never added the RSS feeds to the list.

It was amazing.
Was This Post Helpful? 0
  • +
  • -

#58 KWags   User is offline

  • New D.I.C Head

Reputation: -2
  • View blog
  • Posts: 27
  • Joined: 11-February 09

Re: Stupidest Programming Mistakes

Posted 18 March 2009 - 04:27 PM

I spent a good 45 minutes looking over my beautiful program, thinking wow, I am so good. This looks great ----- went to debug it, I had 50 some errors....jaw dropped and everything....

Forgot to add a curly brace to the end of main. :P
Was This Post Helpful? 0
  • +
  • -

#59 NeoTifa   User is offline

  • NeoTifa Codebreaker, the Scourge of Devtester
  • member icon





Reputation: 4935
  • View blog
  • Posts: 20,264
  • Joined: 24-September 08

Re: Stupidest Programming Mistakes

Posted 19 March 2009 - 10:14 AM

When I first started learning Java:

#include <java.util.*>;

XD
Was This Post Helpful? 0
  • +
  • -

#60 computerfox   User is offline

  • straight vegetarian kid

Reputation: 50
  • View blog
  • Posts: 3,772
  • Joined: 29-January 09

Re: Stupidest Programming Mistakes

Posted 19 March 2009 - 10:22 AM

nooooobbbbb!!!! but i still :wub: you

actually to tell you the truth java was my first language and i literarily sweat, cried, and bleed to learn it, but now i love it :)
Was This Post Helpful? 0
  • +
  • -

#61 NeoTifa   User is offline

  • NeoTifa Codebreaker, the Scourge of Devtester
  • member icon





Reputation: 4935
  • View blog
  • Posts: 20,264
  • Joined: 24-September 08

Re: Stupidest Programming Mistakes

Posted 19 March 2009 - 10:37 AM

I love Java. So much easier than cpp, but I learned cpp first. Hince the stupid mistake.
Was This Post Helpful? 0
  • +
  • -

#62 computerfox   User is offline

  • straight vegetarian kid

Reputation: 50
  • View blog
  • Posts: 3,772
  • Joined: 29-January 09

Re: Stupidest Programming Mistakes

Posted 19 March 2009 - 10:39 AM

yeah... i know what you're saying. i actually think that c++ is easier than java. i think that java was built off of c++. in my opinion they could start teacher c++ in many middle schools :) it's just that easy

even a caveman can do it

ahhh!!! i love those corny commercials, they get stuck in your head and they never come out :)
Was This Post Helpful? 0
  • +
  • -

#63 Raynes   User is offline

  • D.I.C Lover
  • member icon

Reputation: 616
  • View blog
  • Posts: 2,815
  • Joined: 05-January 09

Re: Stupidest Programming Mistakes

Posted 19 March 2009 - 10:40 AM

<3 Clojure.

"Clojure makes Java bearable."
Was This Post Helpful? 0
  • +
  • -

  • (5 Pages)
  • +
  • « First
  • 3
  • 4
  • 5