Thread: real programmers....

  1. #1
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743

    Talking real programmers....

    Real programmers don't comment their code. It was hard to write; it should be hard to understand.

    My Website

    "Circular logic is good because it is."

  2. #2
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572
    thanks for letting us know

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

  3. #3
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    real programmers are rational thinking human beings designed to analytically solve problems from an objective viewpoint. You won't remember everything that you've written no matter how good you think you are. Comment.

    EDIT:
    fool

    you know how many hours i've slaved over quake2 source trying to understand that caca? Well, about 30 times longer than if it had been freaking commented well

  4. #4
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    Originally posted by axon
    thanks for letting us know
    Lighten up.

  5. #5
    Originally posted by Silvercord
    you know how many hours i've slaved over quake2 source trying to understand that caca? Well, about 30 times longer than if it had been freaking commented well [/B]
    I had the same problem with Wolfenstein 3D when I first started C. Sure they labeled the sections with little headers, but the comments just weren't there, but it probably has ore than Quake 2. It also helped that the name of the source files really didn't help much. Luckily there were online groups that gave descriptions of every file and had line numbers were certain variables were located. Plus, the assembly was commented, arent Carmack and Romero nice.
    Last edited by unanimous; 03-24-2004 at 11:01 PM.

  6. #6
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    Originally posted by unanimous
    I had the same problem with Wolfenstein 3D when I first started C. Sure they labeled the sections with little headers, but the comments just weren't there, but it probably has ore than Quake 2. It also helped that the name of the source files really didn't help much. Luckily there were online groups that gave descriptions of every file and had line numbers were certain variables were located. Plus, the assembly was commented, arent Carmack and Romero nice.
    yes, the wolf 3d source code was freaking impossible to read, regardless of how good you were. I just spent hours playing with it and finally got to change the color of the main menu
    but most of my problem was probably that i was using the borland turbo 3.1's editor

  7. #7
    Banned nickname_changed's Avatar
    Join Date
    Feb 2003
    Location
    Australia
    Posts
    986
    Maybe game programmers have a special compiler which strips comments out of their source code when they go public... they can still release their source code, but it wont do any good if people don't understand it :P

  8. #8
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    Real good programmers do comment their code. It wasn't that hard to write, it shouldn't be that hard to understand either.

    By the way DavidP, a horse is a badly capitalized handle to an Orse ( whatever that may be ) One day you will understand that
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  9. #9
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >Real good programmers do comment their code.
    No, real programmers don't comment their code. If it was well written, the code is its own commenting.

    >Real programmers don't comment their code. It was hard to write; it should be hard to understand.
    This is a very old joke by the way, just in case some of you were taking DavidP seriously.
    My best code is written with the delete key.

  10. #10
    Registered User khpuce's Avatar
    Join Date
    May 2003
    Posts
    165
    Real programmer ?

    Thanks guys, now I am really confused whether I am a real programmer or not

    How do I know that

  11. #11
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >How do I know that
    If you've had the perseverance to complete a program larger than "Hello, World!", you're a real programmer. I've seen a lot of people give up before that.
    My best code is written with the delete key.

  12. #12
    Registered User khpuce's Avatar
    Join Date
    May 2003
    Posts
    165
    Originally posted by Prelude

    If you've had the perseverance to complete a program larger than "Hello, World!", you're a real programmer. I've seen a lot of people give up before that.
    Hang on guys...lemme finish my "Hello World" program and then I'll come back as a REAL programmer ;

  13. #13
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743
    >By the way DavidP, a horse is a badly capitalized handle to an Orse ( whatever that may be ) One day you will understand that

    lol

    NEVER!!! I shall never give in to the Hungarians!
    My Website

    "Circular logic is good because it is."

  14. #14
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Self documenting code will tell you what the program is doing, the comments are there to tell you why. The reason why is often times far more important then the how.

  15. #15
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    i know david was just making a joke, but there's NO WAY you could figure out a program that's over 50 lines or so in assembly...unless the variables were VERY well named...but even then...

    I've heard of a fully graphical OS written entirely in asm, can't imagine how many lines of code that is.
    PHP and XML
    Let's talk about SAX

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Real Programmers.....in the old days
    By The SharK in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 07-27-2006, 04:29 PM
  2. %16 with double
    By spank in forum C Programming
    Replies: 11
    Last Post: 03-05-2006, 10:10 PM
  3. non-paying jobs for programmers, anyone here do this to help you get a real job?
    By Terrance in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 10-14-2002, 05:29 AM
  4. Programming Puns
    By kermi3 in forum A Brief History of Cprogramming.com
    Replies: 44
    Last Post: 03-23-2002, 04:38 PM
  5. Replies: 7
    Last Post: 12-12-2001, 10:28 AM