Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ for dummies

Name: Anonymous 2008-02-06 8:11

It may seem odd to have a command in C++ (or any other programming language)
that’s specifically ignored by the computer. However, all computer languages
have some version of the comment. It’s critical that the programmer
explain what was going through her mind when she wrote the code. A programmer’s
thoughts may not be obvious to the next colleague who picks up
her program and tries to use it or modify it. In fact, the programmer herself
may forget what her program meant if she looks at it months after writing the
original code and has left no clue.

Name: Anonymous 2008-02-06 8:12

Expert Programmers don't need comments, the code is obvious.

Name: Anonymous 2008-02-06 8:17

explain what was going through her mind when she wrote the code. A programmer’s
what was going through her mind when she wrote the code
through her mind when she wrote the
mind when she wrote
she


NO FEMALE PROGRAMMERS


Name: Anonymous 2008-02-06 8:30

>>3
Plz use bbcode to enhance zoomage

Name: Anonymous 2008-02-06 8:40

>>4
Plz

Get out

Name: Anonymous 2008-02-06 8:57

>>5
no u

Name: Anonymous 2008-02-06 8:58

>>6
plz ur kiding me rite newfag? lulz

Name: Anonymous 2008-02-06 9:01

Comments are overrated.
Comment only the completely necessary.
Comments are not *code documentation*.
I don't mind having to deal with 10.000 lines with 0 comments if there's a complete document that documents (duh) the behavior of the code.
Likewise, 10.000 fully commented lines with 0 documentation would really piss me off.

Name: Anonymous 2008-02-06 9:16

I put my comments in SPOILER TAGS

Name: Anonymous 2008-02-06 10:26

>>8
Comments are not *code documentation*.
I don't mind having to deal with 10.000 lines with 0 comments if there's a complete document that documents (duh) the behavior of the code.
Separating documentation from code is unnatural and cumbersome.

Name: Anonymous 2008-02-06 10:32

>>10
Like, man pages, and doc/ in every respectable project?

Name: Anonymous 2008-02-06 10:38

>>11
Are we speaking of programmer or end-user documentation?

Name: Anonymous 2008-02-06 15:34

マイドキュメント、日本の私のすべての書き込み

Name: Anonymous 2008-02-06 20:10

This thread is now about Haskell.

Name: Anonymous 2008-02-06 20:13

>>14
Every thread is about Haskell.
Whether it's about the dog, language or person is unclear, though.

Name: Anonymous 2008-02-06 20:15

>>15
But Haskell died. It was such a lazy dog.

Name: Anonymous 2008-02-06 20:27

>>15
Haskell is always calling his tail.

Name: Anonymous 2008-02-07 3:17

>>16
>>17

Haha, just like the language.

Name: Anonymous 2008-02-07 9:55

Stop making fun of my dog's death, jerks.

Name: Anonymous 2008-02-07 10:03

>>19
That's not funny. That's how my dog died.

Name: Anonymous 2008-02-07 10:18

>>20
Not before mine did.

Name: Anonymous 2008-02-07 10:18

>>20
That's not funny, my dog died that way.

Name: Anonymous 2008-02-07 11:01

It's sad but true.

Name: Anonymous 2008-02-07 12:17

What sort of dog was he? I imagine some sort of dark-coloured labrador, with a smile on his face and a twinkle in his eye.

Name: Anonymous 2008-02-07 12:20


n = ((n >>  1) & 0x55555555) | ((n <<  1) & 0xaaaaaaaa);
n = ((n >>  2) & 0x33333333) | ((n <<  2) & 0xcccccccc);
n = ((n >>  4) & 0x0f0f0f0f) | ((n <<  4) & 0xf0f0f0f0);
n = ((n >>  8) & 0x00ff00ff) | ((n <<  8) & 0xff00ff00);
n = ((n >> 16) & 0x0000ffff) | ((n << 16) & 0xffff0000);

// Reverse the bits in a word.

Name: Anonymous 2008-02-07 12:34

>>24
It was a small, brown-coloured cocker-spaniel, with a constant ``I can't be bothered by your faggotry, got to sleep'' look on his face.

Name: moot !Ep8pui8Vw2 2008-02-07 12:40

>>26
I hereby declare him to be /prog/'s official mascot.

Name: Anonymous 2008-02-07 12:57

>>27
;_;

Name: Anonymous 2008-02-07 14:09

>>25
plz find the C tricks thread and repost it there ;)

Name: Anonymous 2008-02-07 14:52

Name: Anonymous 2008-02-07 15:11

>>27
                     //`'''```,
           o        //HAET   `.,
     ,....OOo.   .c;.',,,.'``.,,.`
  .'      ____.,'.//
 / _____  \\___/.'
| / ||  \\\\---\\|
||  ||   \\\\  ||
co  co    co co

Name: Anonymous 2009-03-06 5:32

== a b mod.

Name: Anonymous 2009-03-06 10:45

Writing by hand but   the head of   hair For his   marvelous Scheme opus   SICP But why   Why would you   put everything in   one expression because.

Name: ​​​​​​​​​​ 2010-10-26 3:14

Name: Anonymous 2011-02-03 0:41


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List