dozen = 12 + 1; // one extra for the baker!
I got mad at this when I first saw it but then I remembered there’s some code at work that defines an hour as 50 minutes
dozen = 12 + 1; // one extra for the baker!
I got mad at this when I first saw it but then I remembered there’s some code at work that defines an hour as 50 minutes
Statistically, this makes your code better
Yeah…. I’ve definitely been the next guy on a couple bad regexes that I wrote
When versioning and feature flags are too hard: just use git and hope for the best
My old senior used to do this before he got laid off and now I’m charge of code that’s littered with old commented out code and no way to know why it was commented out.
Then it breaks years after you’ve left and someone has no choice but to touch it
I often use comments as ways to say, “I know this is cursed, but here’s why the obvious solution won’t work.” Like so:
/**
* The column on this table is badly named, but
* renaming it is going to require an audit of our
* db instances because we used to create them
* by hand and there are some inconsistencies
* that referential integrity breaks. This method
* just does some basic checks and translates the
* model’s property to be more understandable.
* See [#27267] for more info.
*/
Edit: to answer your question more directly, the “why not what” advice is more about the intent of whether to write a comment or not in the first place rather than rephrasing the existing “what” style comments. What code is doing should be clear based on names of variables and functions. Why it’s doing that may be unclear, which is why you would write a comment.
So this is admittedly the first genocide I’ve followed this closely in real time. Is it normal for them to just… announce what they’re doing the entire time? The general who drafted the plan posted it on YouTube? What?
Linux installs have gotten so quick and painless over the past decade or so. Usually just following a GUI, waiting like 5 minutes for the install, and suddenly you’re booted into a fresh desktop.
I think you’re going to need to link to some proof or example. You’re clearly using a definition of AI that’s broader than the colloquial definition everyone’s assuming you’re using.
Wait a minute, Doc. Ah… Are you telling me you built a time machine… out of a Tesla?
It’s not as close to an exact quote as I thought, to be honest, but I stand by the sentiment that the statement was unsupportive of the trans community.
My espresso has arrived. Clinton asks for more iced tea. I cannot allow the lunch to end without questioning the direction of her party. I say that Democrats seem to be going out of their way to lose elections by elevating activist causes, notably the transgender debate, which are relevant only to a small minority. What sense does it make to depict JK Rowling as a fascist? To my surprise, Clinton shares the premise of my question.
“We are standing on the precipice of losing our democracy, and everything that everybody else cares about then goes out the window,” she says. “Look, the most important thing is to win the next election. The alternative is so frightening that whatever does not help you win should not be a priority.”
From an interview with the Financial Times
I’d note 4 things:
Why does everyone who runs a store or shop write like this? Are they marking off their loose paper and sharpie budget as a business expense?
Why subtweet Hillary Clinton on this one? It’s almost an exact quote.
Is there a non-sexual way for that to look cozy?
Seems like stealth checks at higher levels could alter DCs for this phenomenon
I love the concept of Kill Tony and as a fan of standup I enjoy most of the episodes most of the time. But holy shit the guests are such reactionary assholes sometimes. The overlap between standup podcasts and manosphere podcasts is tragically overlapped. Why the fuck would you have Jordan Peterson on a comedy show? He’s the most self-righteous humorless person in that scene.
We may not have Adobe (lmao who needs that shit 🥴)
The majority of workers in many media-centric fields, unfortunately. Can’t for Adobe to rest on their laurels for so long that they finally lose some market share.
On Hexbear I’ve only ever seen it called Molotov day
Can someone who knows more about the engineering of these lights explain why they suck so much? It seems like them being LED rather than incandescent can’t be the whole story. I just want to be able to drive at night without being blinded every time a car comes through the opposing lane.