The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
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..
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.
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