Expand Cut Tags

No cut tags
[personal profile] hoisinsauce posting in [community profile] secretfanspace
POST NAMER TBC-- work harder, meme!

Welcome back, anyway! Chat fandom, media, creative things, weirdness from around the net, funny stuff, anything! Meme awaits!


(start a comment thread by replying to this post)
 
Depth: 1

Re: Coding

Date: 2025-07-25 03:30 am (UTC)
From: (Anonymous)
There's another file that just contains this (well, this and twenty other constants that are also defined in another file). Why! Just why!

class FruitMetrics:
  """
  Increment a counter metric
  """
  def incrementMetric(metricTag, value):
    if metricTag in counters:
       counters[metricTag] += value
    else:
       counters[metricTag] = value

  """
  Increment a counter metric by 1
  """
  def incrementMetric(metricTag):
    incrementMetric(metricTag, 1)
Depth: 2

Re: Coding

Date: 2025-07-25 08:18 am (UTC)
From: (Anonymous)
Was this codebase in the hands of a team where LoC was treated as a metric? I've seen this kind of shit before when companies have contracted work out, to try to offshore dev jobs, and they've gone for the cheapest possible contractors who 1) don't know how to code and 2) are encouraged to write as many LoC as possible. You get this kind of code + meaningless comments, because there's usually a clause in the contract saying they have to comment every method.
Depth: 3

Re: Coding

Date: 2025-07-25 08:24 am (UTC)
From: (Anonymous)
And tbf, the other place you get this kind of code is me, when I am lazy. Well, no, not THIS bad and nonsensical, but looking at FruitIngester, I could see myself copy-pasting repeated lines in a stupid way if it was an early draft; I'd rather get code working and then make it Not Stupid, than work out how to abstract things when I'm tired. Though I'm also lazy, so in that situation FruitIngester wouldn't exist in the first place, because why tf does it exist.
Depth: 3

Re: Coding

Date: 2025-07-25 06:43 pm (UTC)
From: (Anonymous)
Ding ding ding! This PR has three authors, and one of them is a contractor from Cognizant.

Of the other two, one of them is also offshore, and the other is an AI enthusiast. One of the files in this PR is a Cursor prompt he accidentally checked in.
Depth: 4

Re: Coding

Date: 2025-07-25 07:11 pm (UTC)
From: (Anonymous)
How does this shit have THREE authors???

Profile

secretfanspace: A happy spidermite, still forbidden, just without 'no' visible (Default)
Anon fandom messageboard

May 2025

M T W T F S S
   1234
567891011
12131415161718
19202122232425
2627282930 31 

Page Summary

Style Credit

Page generated Feb. 7th, 2026 12:39 pm
Powered by Dreamwidth Studios