Jump to content

Have you ever made smth you don't understand?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
6 replies to this topic

#1
G33k

G33k

    Newbie

  • Members
  • PipPip
  • 19 posts
Have you ever made complex task in programming and you didn't understand what you'd done, but it worked perfectly? Or I'm the only one who has such an experience? It's really strange, but it happens sometimes, what about you?

#2
CommittedC0der

CommittedC0der

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,565 posts
I have done that in GML(game maker language) a couple time even though its a very easy language, but most the time I do the opposite and make something I don't under stand and fail miserably.:D
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.

#3
Guest

Guest

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,414 posts
I always understand my creations. If you lose track of what your code is doing, you need to leave some comments.
Root Beer == System Administrator's Beer
Download the new operating system programming kit! (some assembly required)

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
When I'm working with code that is partially copied and tweaked, sometimes. Generally, this only happens to me with HTML+CSS.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
DarkLordoftheMonkeys

DarkLordoftheMonkeys

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 255 posts
It often happens to me with numbers. Often I write a function that has a few nested loops that all do something to various increments, and I get an output that is one too many digits, or indicates that the loop executed once more than I expected it to. I don't feel like figuring out the exact mathematics of it, but I know how to correct the errors.
Life's too short to be cool. Be a nerd.

#6
Sinipull

Sinipull

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 386 posts
Happens to me sometimes. If the logic behind the code goes so complicated, it's really hard to understand, why such implementation was used.

*Wrestles with Prolog*

Edited by Sinipull, 18 January 2010 - 03:01 AM.


#7
zeroradius

zeroradius

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,406 posts
not really the only instance i have had of that was when i wrote my first C++ "game" for a class in highschool. It was text base and i had no clue what i was doing, I knew how to store variables but did not know it was called a variable or why it did what it did. I could print to comand prompt but not know why and so on. I don't do the copy paste thing or use code from tutorials so sence then i pretty much know what is happening in my programs
Posted Image