r/ProgrammingAndTech • • May 26 '19

Which one are you?

Post image
64 Upvotes

10 comments sorted by

22

u/pxOMR May 26 '19

There are two types of people.

Type 1:

/*
  Multiline
  Comment
 */

Type 2:

// Multiline
// comment

17

u/[deleted] May 26 '19

Type 3:

/*Multiline
Comment*/

14

u/pxOMR May 26 '19

There are 2 more types actually

Type 1:

Function("hello" /* argument comment */, "world" /* argument comment */);

Type 2:

Function(
  // Argument comment
  "hello",
  // Argument comment
  "world"
)

-1

u/[deleted] May 26 '19

i am type 2

9

u/[deleted] May 26 '19

type 1

5

u/somethingInTheMiddle May 26 '19

Laughs in python

...

Cries in IndentationError

8

u/twoscoopsofpig May 26 '19

Yep. Two types: those who use the left-hand example, and those who shouldn't even be in the profession.

I have opinions on this.

5

u/Titanium_Josh May 26 '19

I’m in the profession.

For PHP, it’s the one on the right.

3

u/twoscoopsofpig May 26 '19

This add to the laughable qualities of PHP.

I had so much to unlearn after starting there.

1

u/TrexismTrent May 27 '19

Left I worked with a few people who did the right method and it makes it so much harder to read in large scripts.