u/Triceratography - 10 Archived Voat Posts in v/programming
u/Triceratography
  • home
  • search

u/Triceratography

0 posts · 10 comments · 10 total

Active in: v/programming (10)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: NPC Programming

Extremely, despite all efforts to get faggots to stop doing it?

0 14 Oct 2018 21:28 u/Triceratography in v/programming
Comment on: NPC Programming

Must be.

System.Out.Println

I figured they'd go for Python, way more trendy.

0 14 Oct 2018 20:57 u/Triceratography in v/programming
Comment on: Question about logic fallacy in programming algorithms

The above doesn't parse because I have no fucking clue what specific "cause-effect chain" you are talking about, and if I did, I probably would still have no clue where you think a zero is treated as -1 or what, if anything, you think the solution is to the problem that you still haven't convinced me exists in the first place.

This must be how an exceptional programmer like Torvalds feels interacting with the rest of the world.

0 24 Sep 2018 01:08 u/Triceratography in v/programming
Comment on: Question about logic fallacy in programming algorithms

This is the only time you've use the word "implemented" in this thread, and there is a corresponding DownRatio function just like the UpRatio function.

0 24 Sep 2018 01:01 u/Triceratography in v/programming
Comment on: Question about logic fallacy in programming algorithms

Useless or harmful to what? Spammers? It's supposed to allow users to filter out garbage.

Logic is math and you're not providing enough information for anyone to actually use logic to determine whether your statements are valid.

0 24 Sep 2018 00:46 u/Triceratography in v/programming
Comment on: Question about logic fallacy in programming algorithms

He said a case with no upvotes and no downvotes wasn't handled, but didn't say where he saw it.

I looked quickly and found it handled in some places using a ternary operator, but who knows whether those are even related to the places he mentioned.

0 24 Sep 2018 00:32 u/Triceratography in v/programming
Comment on: Question about logic fallacy in programming algorithms

You may need to be more specific.

I didn't chase through every file because I'm on my phone, but here's a member function of "score" that handles the "no votes" case.

public double UpRatio
        {
            get { return (Total != 0 ? Math.Round((double)UpCount / (double)Total, _roundingDecimals) : 0); }
        }
0 24 Sep 2018 00:10 u/Triceratography in v/programming
Comment on: Question about logic fallacy in programming algorithms

Dude I'm a programmer, and I answered your question, and I still don't know what you are talking about.

I'm not going to sit here and read the source looking for it, so stop being a cock and tell us what it is.

0 23 Sep 2018 23:57 u/Triceratography in v/programming
Comment on: Question about logic fallacy in programming algorithms

They can keep a job and produce working things by following patterns made by smarter people.

A strong understanding of logic is only necessary if the code needs to behave predictably in all possible situations, or if you are dealing with low-level code.

Consider a construct like a switch statement. At the end is a default case. If the default behavior breaks nothing, then nobody might ever notice you fucked up.

0 23 Sep 2018 23:47 u/Triceratography in v/programming
Comment on: Master/Slave Terminology Was Removed from Python Programming Language

I'm amused by the term "powerbottom". Does it have a corresponding part with a funnier name than "top"?

0 16 Sep 2018 22:16 u/Triceratography in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.