News for hackers. Stuff that matters.
Re:The Best Place to Drink Is the Emptiest Bar in the City by jsight on Tuesday June 27, 2023 @09:25AM (#36492383)
To be fair, it does depend on the question. Yours is fine.

I've also seen things like "Why would you specify the # of elements when initializing an ArrayList in Java?", and you just know the person asking is the guy that sprinkles magic constants all over his code. And gives negative reviews when you don't put random (often relatively small) numbers in yours too.

Re:The Best Place to Drink Is the Emptiest Bar in the City by hnfong on Wednesday June 28, 2023 @10:41AM (#36507156)
Instead of hardcoding, you can specify a million configuration variables to be determined at runtime, and shift the responsibility to SRE to draft a deployment plan for that :P