|
In this GOTO Copenhagen 2016 talk, Mads Torgersen invites you to play around in the key of C#, see why it’s not your uncle’s, and discover where the language is headed. "Take another look. Please another look."
Probably nothing new here for people (especially if you're already using C# and looking towards 7), but handy all in one spot.
|
|
|
|
|
Kent Sharkey wrote: "Take another look. Please another look." Our coding standards clearly state that we should avoid "GOTO"
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Ah, yes, blind adherence to bureaucratic policy. The bane of human existence.
Actually, GOTO is sometimes the better, more elegant solution.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
TheGreatAndPowerfulOzActually, GOTO is sometimes the better, more elegant solution. Sometimes it may be a good idea to sit back and not jump to conclusions.
How many goto's have you used while doing C#, JavaScript or SQL queries?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Eddy Vluggen wrote: not jump I see what you did there...
Eddy Vluggen wrote: you used I have used a few in C# & SQL.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
modified 30-Nov-16 18:01pm.
|
|
|
|
|
Quote: How many goto's have you used while doing C# [..] ?
One.
Because it was the right tool for that job.
Is it considered that evil, that I feel the urge to justify myself for using it?
Ciao,
luker
|
|
|
|
|
The last goto I used was in 1993, in some C code. The last I saw was in 2010, in some C code written by an otherwise brilliant hardware engineer.
|
|
|
|
|
Pity
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Researchers say they've uncovered a family of Android-based malware that has compromised more than 1 million Google accounts, hundreds of them associated with enterprise users. I never did trust that guy and his silly hat
Skiiiippperrrrr!
modified 30-Nov-16 13:31pm.
|
|
|
|
|
New paper describes for first time how scientists can test controversial idea that speed of light is not a constant In this house, we obey the laws of physics!
|
|
|
|
|
Kent Sharkey wrote: In this house, we obey the laws of physics thermodynamics! Homer said it better.
|
|
|
|
|
Yeah, I was totally hearing that, but couldn't use it as this isn't thermodynamics.
TTFN - Kent
|
|
|
|
|
your wife is named physics ? how cool is that!
I'd rather be phishing!
|
|
|
|
|
Hypothesis, hypothesis, hypothesis....
|
|
|
|
|
Antithesis, antithesis, antithesis....
|
|
|
|
|
Supposition, supposition, supposition...
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Kent Sharkey wrote: we obey the laws of physics Unless they've been repealed or amended.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Deep learning is behind many recent breakthroughs in Artificial Intelligence, including speech recognition, language understanding and computer vision. And a chicken in every pot
|
|
|
|
|
|
One of the most controversial provisions of the Act allows the government to force communication service providers like ISPs and mobile carriers to store the Internet Connection Records (ICRs) of users for 12 months. If you're in the UK and would like to know the contents of this blurb, ask your MP
|
|
|
|
|
Which is leading to quite the slippery rope.
UK porn surfers are now going to have to register to access porn.
It's for the "children".
Wonder if certain people in high places in the UK will have to register for their paedo activities...
|
|
|
|
|
MPs are exempt from the surveillance laws. This is just about the only amendment to the bill that they added in.
This space for rent
|
|
|
|
|
Are there going to be pr0n licences?
Could you use it as a valid picture ID? That would be amazing.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
It's the new One Eyed Willy Id.
Anthony Wiener was the first proud recipient.
|
|
|
|
|
UK ISPs will move to Europe...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|