Feed aggregator
Amazon's AI Assistant Comes To the Web With Alexa.com
Read more of this story at Slashdot.
SanDisk Says Goodbye To WD Blue and Black SSDs, Hello To New 'Optimus' Drives
Read more of this story at Slashdot.
VSCode IDE Forks Expose Users To 'Recommended Extension' Attacks
Read more of this story at Slashdot.
UK Government's New Pension Portal Operator Tells Users To Wait for AI Before Complaining
Read more of this story at Slashdot.
Google To Kill Gmail's POP3 Mail Fetching
Read more of this story at Slashdot.
Microsoft is Slowly Turning Edge Into Another Copilot App
Read more of this story at Slashdot.
Flu Is Relentless. Crispr Might Be Able to Shut It Down
Read more of this story at Slashdot.
'The College Backlash is a Mirage'
Read more of this story at Slashdot.
Influencers and OnlyFans Models Dominate US 'Extraordinary' Artist Visas
Read more of this story at Slashdot.
Samsung's CES Concepts Disguise AI Speakers as Turntables and Cassette Players
Read more of this story at Slashdot.
People of Dubious Character Are More Likely To Enter Public Service
Read more of this story at Slashdot.
Stack Overflow Went From 200,000 Monthly Questions To Nearly Zero
Read more of this story at Slashdot.
Samsung Co-CEO Says Soaring Memory Chip Prices Will 'Inevitably' Impact Smartphone Costs
Read more of this story at Slashdot.
As US Communities Start Fighting Back, Many Datacenters are Blocked
Read more of this story at Slashdot.
2025 Ends With Release of J. R. R. Tolkein's Unpublished Story
Read more of this story at Slashdot.
Announcements: New Year, New You?
During the holiday season, we got some of your holiday WTFs. For the next few weeks, we'd love to see your New Year's Resolutions. Maybe ones for you- what WTF do you do that you want to stop doing? But mostly, we're looking for the resolutions you want to give other people- the teammate who microwaves salmon for lunch everyday (it's healthy protein bro), the pointy-haired-boss who thinks they can code because ChatGPT generates code, the company that thinks CI is too much of an expense. What in your day or workplace needs to take on a resolution for this year?
Click submit and let us know!
[Advertisement] Utilize BuildMaster to release your software with confidence, at the pace your business demands. Download today!CodeSOD: The Utils
We know 2026 is not a leap year. But how do we know that? We need to call some function to find out.
Steve sends us a bit of representative code; on it's own, it's not so bad, but with the broader context, it's horrifying:
namespace Utils{ public static class Utils { public static bool IsLeapYear(int year) { return CultureInfo.CurrentCulture.Calendar.IsLeapYear(year); } … } }CultureInfo.CurrentCulture.Calendar.IsLeapYear is a .Net built in function. It does what you think. This code wraps it in their own IsLeapYear function, in a class called Utils, in a namespace called Utils.
I think you can see where this is going: Utils.Utils is a "god" class that has all the random utility functions you might want in it. It basically wraps the .Net core library up in its own interface. Sure, it's only the parts that the application needs to use, but it's still a lot of useless code that just piles a big old heap of functions that could mostly be one-liners already in a big bucket.
And of course, not everyone follows this convention, which means that much of the code uses the core library directly, and much of it uses the Utils.Utils. The mixture creates a maintainability nightmare, and it shows: the application has an ever growing bug list.
[Advertisement] ProGet’s got you covered with security and access controls on your NuGet feeds. Learn more.Workstation Owner Sadly Marks the End-of-Life for HP-UX
Read more of this story at Slashdot.
39 Million Californians Can Now Legally Demand Data Brokers Delete Their Personal Data
Read more of this story at Slashdot.
North Dakota Law Included Fake Critical Minerals Using Lawyers' Last Names
Read more of this story at Slashdot.
