Feed aggregator
Qualcomm Is Buying Arduino, Releases New Raspberry Pi-Esque Arduino Board
Read more of this story at Slashdot.
Without Data Centers, GDP Growth Was 0.1% in the First Half of 2025, Harvard Economist Says
Read more of this story at Slashdot.
Play Store Changes Coming This Month as SCOTUS Declines To Freeze Antitrust Remedies
Read more of this story at Slashdot.
Youtube's Biggest Star MrBeast Fears AI Could Impact 'Millions of Creators' After Sora Launch
Read more of this story at Slashdot.
RGB LED Is Getting Its Time in the Spotlight. Will TV Shoppers Tune In?
Read more of this story at Slashdot.
Apple Turned the CrowdStrike BSOD Issue Into an Anti-PC Ad
Read more of this story at Slashdot.
Denmark Aims To Ban Social Media For Children Under 15, PM Says
Read more of this story at Slashdot.
OpenAI's Computing Deals Top $1 Trillion
Read more of this story at Slashdot.
Irish Basic Income Support Scheme For Artists To Be Made Permanent
Read more of this story at Slashdot.
California Law Forces Netflix, Hulu To Turn Down Ad Volumes
Read more of this story at Slashdot.
Nobel Prize in Physics Is Awarded for Work in Quantum Mechanics
Read more of this story at Slashdot.
India's Grid Cannot Keep Up With Its Ambitions
Read more of this story at Slashdot.
Senate Dem Report Finds Almost 100 Million Jobs Could Be Lost To AI
Read more of this story at Slashdot.
Microsoft Is Plugging More Holes That Let You Use Windows 11 Without an Online Account
Read more of this story at Slashdot.
Black Holes Might Hold the Key To a 60-Year Cosmic Mystery
Read more of this story at Slashdot.
Representative Line: Listing Off the Problems
Today, Mike sends us a Java Representative Line that is, well, very representative. The line itself isn't inherently a WTF, but it points to WTFs behind it. It's an omen of WTFs, a harbinger.
ArrayList[] data = new ArrayList[dataList.size()];dataList is an array list. This line creates an array of arraylists, equal in length to dataList. Why? It's hard to say for certain, but the whiff I get off it is that this is an attempt to do "object orientation by array(list)s." Each entry in dataList is some sort of object. They're going to convert each object in dataList into an arraylist of values. This also either is old enough to predate Java generics (which is its own WTF), or explicitly wants a non-generic version so that it can do this munging of values into an array.
Mike provided no further explanation, so that's all speculation. But what is true is that when I see a line like that, my programmer sense starting tingling- something is wrong, even if I don't quite know what.
[Advertisement] Picking up NuGet is easy. Getting good at it takes time. Download our guide to learn the best practice of NuGet for the Enterprise.Quarter of UK University Physics Departments At Risk of Closing, Survey Finds
Read more of this story at Slashdot.
CBS News Was Just Taken Over By a Substack
Read more of this story at Slashdot.
AstraZeneca Signs Up For $555 Million AI Deal With Algen To Develop Therapies
Read more of this story at Slashdot.
California Biotech Tycoon Found Guilty of Orchestrating Rival's Murder
Read more of this story at Slashdot.