|
There is no such thing as "var abuse".
|
|
|
|
|
I understand your pain!
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|
Initial gut call reactions...
The current out syntax is klunky, but hiding variable declarations like that is even worse.
The out * for "I don't care" is worrying since it will encourage bad behavior by people who're lazy/don't understand what they're doing. Yeah ignoring return variables is a problem now; but I don't think encouraging it is a good idea in the general case. It might make some things like the cluster elephants that are MS Office COM wrappers less painful to use; but the core problem is that the API is a cluster elephant not the language syntax around calling it.
Type pattern matching, the initial trivial cases are rather pointless IMO (and whoever decided it was OK to combine an if and then on a single line should be force fed his keyboard); but making switches easier to use and more flexible is cool.
The new tuple return feature looks awesome.
Deconstructing it into separate variables when there's no innate reason to keep them bound after the call (eg returning a computation result and any errors/warnings reported by the computation) means I can have my cake and eat it too.
I'm not so sure about general type deconstruction. On the one hand it's just syntactic sugar, on the other my gut reaction is that it could probably be abused horribly somehow.
Wild cards in tuple deconstruction trigger the same mixed reaction as with wildcard out parameters and deconstructing normal objects.
Local functions. I missed these many years ago when transitioning from Pascal to C++; now I feel like they're just adding an extra layer of code hiding to no real gain.
Allowing _'s in numerical literals to improve readability. Looks like a nice minor usability gain with no real downside.
Ref returns are probably a good idea overall; but requiring devs who've never had to think in terms of pointer-fun to deal with stuff like this might cause confusion.
Generalized async types. Sounds like a good idea, but since I haven't done any greenfield dev with an opportunity to experiment with async I don't feel comfortable making a judgement call here.
More expression bodies takes the fugliest thing in C#6 and smears it over more of the language like a roomba confronted by a fresh turd[^]. (I was tempted to post my giant vomit meta spewly here.)
Throw expression bodies. Well they're getting close, they need to add throw up and they'll have it nailed. Once again
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
I'm not sure I share your disdain for expression bodies. Used with discipline and restraint, I think they can provide a welcom compression of otherwise wasted space (thus improving readability). I site this source as an example of what I consider appropriate usage.
Can you point to some examples of egregious usages?
|
|
|
|
|
I could start with the first 3 examples in your link (and presumably the rest but I didn't bother to keep reading). They were hideous the first time I saw them and haven't improved with age.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
That's interesting. From my perspective, in those examples I see the "old way" kind of like an old man with a wise brow and pulseless heart, waging all things in the balance of reason, whereas the "new way" seems more like a beautiful maiden, full of fire, with a burning heart and flaming soul.
But perhaps that's just the Topelius in me.
|
|
|
|
|
THWAPP
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Super Lloyd wrote: only 500 MB (instead of 6GB for minimal VS2015 installation)
... that's because all but fancy text editor functionality will be in extensions and/or NuGet-s
modified 19-Nov-18 21:01pm.
|
|
|
|
|
I want to buy a domain name from mark.com.
but I don't known whether it is reliable or not.
thank you all
|
|
|
|
|
Based on their website, it looks very boilerplate. If I was buying a domain, it wouldn't be from them based on that alone!
|
|
|
|
|
It's not No Man's Sky (I heard that one is massive failure), but Space Engine[^]
|
|
|
|
|
Recently the news outlets here have been running stories on the increasing prices of life saving drugs, like the EpiPen[^].
Here in US they are charging $600 for a pack of two. I am curious to what the rest of the world pays for EpiPens.
if (Object.DividedByZero == true) { Universe.Implode(); }
Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016
|
|
|
|
|
In the UK, effectively zero.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Forogar wrote: In the UK, effectively zero.
if (Object.DividedByZero == true) { Universe.Implode(); }
Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016
|
|
|
|
|
There is sometimes a nominal Rx charge.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Not in Wales: prescriptions are all free.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
OriginalGriff wrote: prescriptions are all free Only 'cause English taxes pay for them.
|
|
|
|
|
And Welsh taxes.
The Welsh NHS tries to prioritise patients, rather than external company profits...hence why there aren't any car parking fees at Welsh hospitals either.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
OriginalGriff wrote: The Welsh NHS tries to prioritise patients, rather than external company profits...hence why there aren't any car parking fees at Welsh hospitals either. So, essentially, you might be paying more then someone else but you don't know that. Consequently you have less money available for other services (if government's health budget is limited and you spend 10 units on one service, you have 10 units less to spend on other services).
Last but not least - trying to make a profit does not make a services more expensive. If that would be the case then we would all buy only at communist shops which would be full of high quality and cheap goods. Cause they would be "non-profit", like "more interested in feeding the hungry and world peace then profits", etc. In reality profits are a motor of innovation and improvement.
|
|
|
|
|
I'd agree - except in the case of outsourcing from any government, where it tends to go to cronies of the ruling party, who are there purely for the short term profit and have no concern for the "clients".
But this is getting political, which doesn't belong in the Lounge...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Also, they expire every 12 months, which I think is a scam. Surely it would be effective for longer than that?
|
|
|
|
|
Nish Nishant wrote: they expire every 12 months, which I think is a scam.
Are you willing to bet your life on that.....
Just asking?
Ken
|
|
|
|
|
If an expert lab can look into this and officially release a statement that it can certainly be used for say 24 months, I probably will.
|
|
|
|
|
Not necessarily - epinephrine is volatile, and degrades pretty quickly: particularly when it gets too warm. The 12 months limit is probably half the actual usability under "good" storage conditions, but to be effective in the hands of all users it needs to be kept shorter for safety.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
It's probably cheaper in the UK because we use Adrenaline!
=========================================================
I'm an optoholic - my glass is always half full of vodka.
=========================================================
|
|
|
|