Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm DevOps and don't pretend to understand good code layout in large projects, but why would you keep a "printTime" function in remote extension management code?

https://github.com/microsoft/vscode/blob/c9e7e1b72f80b12ffc0...

(Genuine question, I'm puzzled!)



You don’t know/care and the reviewer doesn’t care. The code was probably written by an llm helping enforce the not-caring.


Are you OK? I just asked a question, which implies that I cared enough to at least ask.


No I think it implies that you wanted to appear to care in order to make a point.


oh. I really didn't, can you tell me what made it sound that way? I'm autistic and freely admit that I get words incorrect, and miss contexts.

I'm mostly OK at programming, but I like to learn, and HN is full of people who are much, much smarter than me who also like to share their knowledge.

Thank you for replying. I wasn't trying to make a point, I was just trying to learn why a seemingly utility function wasn't in some shared /lib/timestamps.ts or whatever.

I won't bother you further.


I didn’t say I was bothered, and I don’t think you were attacking me. I don’t think you misused anything and I fully grokked your context.

Sorry if my reply came off as snark or disgruntled.

Yes I am okay, my original comments was to make a point about general populace’s level of dedication to their employment and interest in the strict rules of good software design. The original commentary was a bit snarky.

Thank you for asking if I was alright it, it is important to reach out when snarkiness cannot be discerned from distress.


Did you try searching in the file to see where the function is called? It’s used in some log messages.


I'm not really asking about its function, more its location. I figured stuff like that belonged in /lib/ utility code so it could be reused consistently across the codebase.

Basically I'm not a great programmer so when I see stuff that I am unsure of, I ask so I can learn.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: