Skip to main content

Representative Line: What it Doesn't Do

2 days 7 hours ago

Alastair found this comment in his codebase, and wondered, "who wrote this comment?" A quick blame answered the question: he did. He did not, however, write the code.

public function getAllMailers() { // This function neither returns Mailers, nor all of them. ... }

I suppose the comment was easier to add that doing a global find/replace to update the function name everywhere. But I do wonder, what does this function return?

In any case, sing along: "I wrote the comment, but I did not pick this function name".

.comment { border: none; } [Advertisement] Keep the plebs out of prod. Restrict NuGet feed privileges with ProGet. Learn more.
Remy Porter

Democrats Take Control of US Congress As Voters Reject Trump's Republicans

2 days 7 hours ago
Tuesday, November 3, was Election Day in the United States, and the results are (mostly) in: Democrats are projected to win control of both the House and Senate in the 2026 midterms. The blue wave turned out to be more of a blue tsunami, ending Republican control of Congress for the final two years of President Donald Trump's second term. Democrats flipped seven Republican-held Senate seats in the 2026 midterms, including surprise victories in traditionally Republican strongholds such as Texas, Kansas, and South Carolina. Kansas elected its first Democratic U.S. senator in nearly 100 years (94 years to be exact), while Texas and South Carolina sent Democrats to the Senate for the first time in decades. Democrats also picked up seats in Ohio, Iowa, Maine, and North Carolina.

Read more of this story at Slashdot.

BeauHD