|
.. and C# 8.
It has been fun, C# 8 has some nice features. Pattern matching switch cleaned up some code (and helps deal with nullability warnings), default interface members (converted to abstract classes), and the biggest one (IMO): nullability warnings. (there is more in C# 8 but I didn't get the chance to test everything).
There were about 200 nullability warnings when I turned that on and some new ones came up while fixing things, it took a while to do something about all of them, but not even that much time. A couple of hours. It found a few real bugs so it was already worth it, and I expect more bugs will be prevented without it having to explicitly fail during testing.
VS2019 does seem slower though. Again. The time from F5 until the program starts running seems longer, compile errors and warnings take longer to show up, switching to a different file sometimes takes noticeable time to process..
Have you tried it?
|
|
|
|
|
Not yet, just waiting till it is out of preview .Net Core 3.0 looks interesting though
|
|
|
|
|
Oh yes that reminds me, I also tried out the new platform-specific intrinsics (new in core 3) a bit. Seems good but I haven't really gone in depth yet.
|
|
|
|
|
harold aptroot wrote: VS2019 does seem slower though
when you first start vs2019 it goes on-line to look for style/definition updates and repository updates (git, team..), the vs2019 updater gors on-line to look for package updates, the 4 service workers all go on line to look for updates for their style/template updates. Every 30 minutes they all do it again.
If you are developing with full internet access a huge speed improvement it gained by putting vs2019 behind a firewall (blocking outbound connections - if using repositories just fingrain the allowed connections), it runs as much as 30% faster and no functionality is lost.
...Worried about updates, just open/disable the firewall when you go for lunch.
(don't forget in the about to turn off the "customer improvement" options - it'll still send telemetry back to ms (just a little bit less) - another thing the firewall helps.
Codelens is absolutely worth turning off, it's fine for newbie, it's nothing for anyone else.
- No I'm not one of those worried about being 'spied on,' I just don't appreciate the performance hits on my dev system.
OTOH: personally I'd be quite worried about my abilities if a style analyser is finding bugs.
|
|
|
|
|
The best thing for me is that the renamed this exception;
"Object reference not set to an instance of an object"
to
"Object reference not set to an instance of an object - for the love of God google this error message before asking about it on a forum"
|
|
|
|
|
we don't want Russia meddling in our erections!
Well you did say it was slow OG
Technician
1. A person that fixes stuff you can't.
2. One who does precision guesswork based on unreliable data provided by those of questionable knowledge.
JaxCoder.com
|
|
|
|
|
Don't worry - there won't be any stiff competition this time...
I'll get my flak jacket
|
|
|
|
|
It's easy, just check the spelling, if it is spelled Viagrski then don't touch it
|
|
|
|
|
Depends on who the Russian is; is she a spy and does she go by the name of Natasha?
|
|
|
|
|
Ooooo Natashia[^]!
Technician
1. A person that fixes stuff you can't.
2. One who does precision guesswork based on unreliable data provided by those of questionable knowledge.
JaxCoder.com
|
|
|
|
|
Indeed. It's time to rise to the occasion.
/ravi
|
|
|
|
|
Okay Mike, *that* was funny! Now, come to my office and clean my monitor... damn coffee....
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Sorry bout that!
Did you know there making it in a nasal spray now?
For d*** heads!
Technician
1. A person that fixes stuff you can't.
2. One who does precision guesswork based on unreliable data provided by those of questionable knowledge.
JaxCoder.com
|
|
|
|
|
Oh just stop.... actually don't, these are hilarious.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
... where is all the spam?
Even on Sundays, we normally get several posts an hour - but S'n'A's last report was nearly a whole day ago ...
Do spammers have holidays?
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Maybe they are all at a Spammers Conference?
|
|
|
|
|
I haven't seen any ads for it ...
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Well they wouldn't want you messing up their conference.
|
|
|
|
|
Well, one of them left early!
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Maybe we won and they all got discouraged?
I know, I'm a dreamer...
enum HumanBool { Yes, No, Maybe, Perhaps, Probably, ProbablyNot, MostLikely, MostUnlikely, HellYes, HellNo, Wtf }
|
|
|
|
|
|
It's university holiday season, and spammers don't like using their own computers to "do their business"* -- they could get caught, that way.
* Yes, I do mean that in the same way it's used for dogs.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
So the IA guys that run the Fortify scans are miffed. It seems that they’re upset because they asked if our apps use connections strings, and we told them yes. They demanded that we tell them where they were because they couldn’t find them in the web.config files. When they asked me where they were, I told them they’re everywhere, and nowhere.
Them: Well, we can’t certify the scan because we can’t find your connection strings.
Me: But isn’t that the point?
They grumbled under their breath and left the conference room.
I’m gonna count that as a win.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Are you working for a government office? It smells awfully familiar...
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
Why yes! Yes I am!
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|