Minichan

Topic: i just posted 4 comments on a single line of code

Anonymous A started this discussion 10 years ago #50,954

i dont think my coworker is too happy with my but it had to be done

it didnt do anything but if it did do as intended it would be doing the incorrect thing and even so it shouldnt be done that way at all

Anonymous B joined in and replied with this 10 years ago, 30 minutes later[^] [v] #661,320

can you explain what this means

Anonymous A (OP) replied with this 10 years ago, 13 minutes later, 43 minutes after the original post[^] [v] #661,321

@previous (B)
it means the person who wrote it is an idiot

1. the line of code didn't actually do anything because it just produces a result with no side-effects, and the result was not remembered
2. the rest of the code assumed that the result was stored, but it wasn't
3. the code itself was entirely pointless because what it was trying to accomplish was already done elsewhere, so point 1 and 2 were not noticed because the entire line of code is pointless
4. it demonstrated a fundamental misunderstanding about the programming language which is really quite shameful

Anonymous C joined in and replied with this 10 years ago, 6 minutes later, 50 minutes after the original post[^] [v] #661,322

If only we could code humans, right? ;)

Anonymous B replied with this 10 years ago, 1 hour later, 2 hours after the original post[^] [v] #661,324

@661,321 (A)
ok but I mean, commenting on it is just pointing out what they did wrong?

Anonymous A (OP) replied with this 10 years ago, 1 minute later, 2 hours after the original post[^] [v] #661,325

@previous (B)
yes and telling them to fix it, because they are in charge of that piece of code. i could just go in and fix it myself, but that is slightly rude and i prefer to educate

Anonymous D joined in and replied with this 10 years ago, 56 minutes later, 2 hours after the original post[^] [v] #661,326

@661,321 (A)

> 1. the line of code didn't actually do anything because it just produces a result with no side-effects, and the result was not remembered
> 2. the rest of the code assumed that the result was stored, but it wasn't
> 3. the code itself was entirely pointless because what it was trying to accomplish was already done elsewhere, so point 1 and 2 were not noticed because the entire line of code is pointless
> 4. it demonstrated a fundamental misunderstanding about the programming language which is really quite shameful

These people need to be publicly shamed or eliminated.

Fake anon !ZkUt8arUCU joined in and replied with this 10 years ago, 18 minutes later, 3 hours after the original post[^] [v] #661,327

"I nerd harder than this other nerd."

At the end of the day, it is irrelevant, because you are all nerds.

Anonymous D replied with this 10 years ago, 14 minutes later, 3 hours after the original post[^] [v] #661,331

@previous (Fake anon !ZkUt8arUCU)
Haters gonna h8 h8 h8 h8
:

Please familiarise yourself with the rules and markup syntax before posting.