Click here to Skip to main content
15,885,078 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: .NET Core 3.1 or .NET 6? Pin
Dan Neely7-Feb-22 3:10
Dan Neely7-Feb-22 3:10 
GeneralRe: .NET Core 3.1 or .NET 6? Pin
Super Lloyd5-Feb-22 14:55
Super Lloyd5-Feb-22 14:55 
GeneralRe: .NET Core 3.1 or .NET 6? Pin
harold aptroot5-Feb-22 17:55
harold aptroot5-Feb-22 17:55 
GeneralRe: .NET Core 3.1 or .NET 6? Pin
RickZeeland5-Feb-22 20:17
mveRickZeeland5-Feb-22 20:17 
GeneralRe: .NET Core 3.1 or .NET 6? Pin
Marc Clifton6-Feb-22 11:01
mvaMarc Clifton6-Feb-22 11:01 
GeneralRe: .NET Core 3.1 or .NET 6? Pin
Luca Leonardo Scorcia6-Feb-22 10:50
professionalLuca Leonardo Scorcia6-Feb-22 10:50 
GeneralRe: .NET Core 3.1 or .NET 6? Pin
Marc Clifton6-Feb-22 11:03
mvaMarc Clifton6-Feb-22 11:03 
GeneralRe: .NET Core 3.1 or .NET 6? Pin
Member 91670576-Feb-22 21:07
Member 91670576-Feb-22 21:07 
My personal motto is not to stick to previous versions unless there's a REALLY good reason to use them. To name an example, .NET source generators still require a .NET standard project, so I'm running mine on .NET standard instead of upgrading it to .NET 6.

The null checks are great! I've enabled them in .NET 5 (where they were optional) and am very glad they're enabled by default now. Having the null as a conscious & explicit construct, rather than something which just happens & is kept implicit, is a huge boon for safety!

Knowing for sure that a string parameter (as opposed to a string? parameter) will not be null (and it it is, I'll get an exception way before control flow forks into this particular method) helps a lot!

I also came to use null explicitly if I want an erroneous value which doesn't warrant an exception. When, an example I often work with, parsing a protocol with optional fields, I initialize those fields to null in the output structure. Knowing that the only way for a null to get there is for my parser to put it there because null is explicit.
GeneralRe: .NET Core 3.1 or .NET 6? Pin
Richard Deeming6-Feb-22 23:22
mveRichard Deeming6-Feb-22 23:22 
GeneralHow $323M in crypto was stolen from a blockchain bridge called Wormhole Pin
abmv5-Feb-22 3:12
professionalabmv5-Feb-22 3:12 
GeneralRe: How $323M in crypto was stolen from a blockchain bridge called Wormhole Pin
englebart5-Feb-22 4:26
professionalenglebart5-Feb-22 4:26 
GeneralRe: How $323M in crypto was stolen from a blockchain bridge called Wormhole Pin
Gerry Schmitz5-Feb-22 6:21
mveGerry Schmitz5-Feb-22 6:21 
GeneralRe: How $323M in crypto was stolen from a blockchain bridge called Wormhole Pin
Kornfeld Eliyahu Peter5-Feb-22 19:50
professionalKornfeld Eliyahu Peter5-Feb-22 19:50 
GeneralRe: How $323M in crypto was stolen from a blockchain bridge called Wormhole Pin
Sander Rossel5-Feb-22 22:43
professionalSander Rossel5-Feb-22 22:43 
GeneralRe: How $323M in crypto was stolen from a blockchain bridge called Wormhole Pin
Eddy Vluggen5-Feb-22 23:51
professionalEddy Vluggen5-Feb-22 23:51 
GeneralRe: How $323M in crypto was stolen from a blockchain bridge called Wormhole Pin
Sander Rossel6-Feb-22 20:22
professionalSander Rossel6-Feb-22 20:22 
GeneralRe: How $323M in crypto was stolen from a blockchain bridge called Wormhole Pin
Eddy Vluggen7-Feb-22 0:50
professionalEddy Vluggen7-Feb-22 0:50 
GeneralRe: How $323M in crypto was stolen from a blockchain bridge called Wormhole Pin
Sander Rossel7-Feb-22 1:08
professionalSander Rossel7-Feb-22 1:08 
GeneralRe: How $323M in crypto was stolen from a blockchain bridge called Wormhole Pin
Eddy Vluggen7-Feb-22 1:13
professionalEddy Vluggen7-Feb-22 1:13 
GeneralRe: How $323M in crypto was stolen from a blockchain bridge called Wormhole Pin
Sander Rossel7-Feb-22 1:33
professionalSander Rossel7-Feb-22 1:33 
GeneralRe: How $323M in crypto was stolen from a blockchain bridge called Wormhole Pin
Eddy Vluggen7-Feb-22 1:43
professionalEddy Vluggen7-Feb-22 1:43 
GeneralRe: How $323M in crypto was stolen from a blockchain bridge called Wormhole Pin
Sander Rossel7-Feb-22 3:57
professionalSander Rossel7-Feb-22 3:57 
GeneralRe: How $323M in crypto was stolen from a blockchain bridge called Wormhole Pin
Eddy Vluggen9-Feb-22 6:28
professionalEddy Vluggen9-Feb-22 6:28 
GeneralRe: How $323M in crypto was stolen from a blockchain bridge called Wormhole Pin
Sander Rossel10-Feb-22 2:51
professionalSander Rossel10-Feb-22 2:51 
GeneralRe: How $323M in crypto was stolen from a blockchain bridge called Wormhole Pin
Eddy Vluggen11-Feb-22 12:30
professionalEddy Vluggen11-Feb-22 12:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.