Some IT guy, IDK.

  • 0 Posts
  • 25 Comments
Joined 3 years ago
cake
Cake day: June 5th, 2023

help-circle



  • I was reviewing some PowerShell script today and it was absolutely atrocious. It’s only saving grace was that it was using actual PowerShell, not some hacky wmic call or anything.

    I didn’t write it and I’m really glad for that. Whole lines of rewritten code commented out and just left there. Entire lines of # marks. There’s no reason this should be so densely commented. Your code should be self explanatory.

    There were multiple queries to the same database that was then passed through a “where-object” selector by pipe, looking for a single value (pulling a database of thousands of entries for one line).

    It was disgusting.

    I’m not even a developer and I thought it was horrid.








  • It happens, yes.

    Just like people dying in T-bone or head-on collisions. Not to mention rollovers and other crashes.

    Each of them carries the chance of fatality.

    It’s unpredictable, which is why we can’t eliminate fatalities entirely.

    My most recent point is that even the fatalities from being rear-ended are significantly reduced from even 10-15 years ago. Making the small (but still too high) probability of a fatality from that type of crash, smaller (but still too high).

    Therefore, the most likely outcome from such an incident would be the destruction of property, not loss of life.

    Which is the original point I was being pedantic about. The original comment was that stopping and not driving wouldn’t kill anyone, and the reply that kicked off this insane tangent, was that the people behind might.

    And I’m staying, no, they won’t die (it is statistically very unlikely).

    Edit to include original context:



  • Why? If people think this is an acceptable situation to go ahead and drive in, then people are going to get hurt or killed.

    How calm should I be about driver’s being so irresponsible that they endanger themselves and everyone around them because “lol, what was I supposed to do?!?” … Exactly?

    Can’t see? Don’t drive. It’s not fucking rocket surgery.