'Tone deaf' A-listers urged to ground private jets and fly economy like Pedro Pascal to Cannes Film Festival, by ex-pilots and millionaires, amid jet fuel crisis
Fury as Green councillor proudly posts footage of himself driving gas guzzling Lamborghini days after his election - despite his party's 'war on motorists'
Europe's best destinations for cheap beer and wine - including £1.30 pints in the 'Costa Rica of Spain'
Train lines blocked after level crossing crash in Essex city
Zoe Ball reveals she failed to land the Strictly Come Dancing hosting gig and is 'grieving the rejection'
2026 on track for 'extraordinary extreme weather', scientists warn - amid concerns the second half of the year will bring unprecedented wildfires and record-breaking temperatures
Dorit Kemsley accused of 'draining' $1.4M in THREE months by ex in explosive court docs: See the breakdown of her luxe spending
Moment teaching assistant described as a 'danger to children' admits to spitting in special needs pupil's face - as she is jailed for child cruelty
Reform UK appoint new Essex County Council leader
Reform UK appoint new Essex County Council leader
Microsoft CEO Satya Nadella Testifies In OpenAI Trial
Read more of this story at Slashdot.
Crazed gunman opens fire on cars in terrifying attack on busy Massachusetts road after being freed from jail for the SAME crime
Rhian Sugden is seen for the first time since Vernon Kay and Tess Daly announced their split - 16 years on from her 'sexting scandal' with the BBC Radio 2 star
Blake Lively suffers ANOTHER legal blow in bid to have Justin Baldoni pay her legal fees days after settlement
Multimillionaire businessman, 51, found dead in locked room after fight with his 'childhood sweetheart' wife over airline tickets, inquest hears
The car was a write-off and my partner was in intensive care. But I seemed fine... until ten years later: Crippling anxiety crept up out of nowhere and almost ruined my life. Here's how I learned to manage it
Representative Line: Underscore Its Unimportance
Frequent submitter Argle (previously), sends us a short little representative line. The good news is that this line of code came across Argle's screen during a code review: it was being removed. The bad news is that it was sitting in the code base for ages.
_ = len / 8.0f;Argle writes:
In a code review today. A co-worker wisely removed the line. Dunno the logic that made anyone write it in the first place.
This is C#, though it could be basically any language. Using _ is one of those little conventions that we use to tell the linter to ignore the fact that this variable isn't used. And this variable was not being used. Of course, in addition to being unused, it's also a puzzle: where does the 8.0f come from? No one knows. Why would we even want the length divided by eight? No one knows. There's nothing about this code that gives any indication that it was a meaningful operation at any point.
No one knows what it does, or why it was there in the first place, but someone put the time into making sure the linter didn't complain about its uselessness by using _ as the variable.