Click here to Skip to main content
15,886,919 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.

 
General.NET and the nullable configuration Pin
Marc Clifton3-Apr-23 2:20
mvaMarc Clifton3-Apr-23 2:20 
GeneralRe: .NET and the nullable configuration Pin
raddevus3-Apr-23 3:32
mvaraddevus3-Apr-23 3:32 
GeneralRe: .NET and the nullable configuration Pin
GuyThiebaut3-Apr-23 3:52
professionalGuyThiebaut3-Apr-23 3:52 
GeneralRe: .NET and the nullable configuration Pin
raddevus3-Apr-23 3:58
mvaraddevus3-Apr-23 3:58 
GeneralRe: .NET and the nullable configuration Pin
PIEBALDconsult3-Apr-23 4:03
mvePIEBALDconsult3-Apr-23 4:03 
GeneralRe: .NET and the nullable configuration Pin
dandy723-Apr-23 4:05
dandy723-Apr-23 4:05 
GeneralRe: .NET and the nullable configuration Pin
Marc Clifton3-Apr-23 8:24
mvaMarc Clifton3-Apr-23 8:24 
GeneralRe: .NET and the nullable configuration Pin
dandy723-Apr-23 11:11
dandy723-Apr-23 11:11 
My first reaction was, "ugh, did they really do that?" followed by "am I really gonna have to propagate those fixes throughout?"

If I would've had to do that throughout my entire codebase (everything I'm still maintaining), there's no way I would've done it.

But starting with a small project that hadn't had much built into it yet...the changes were pretty quick and painless. I don't think I've ever adopted a language tweak this quickly. I'm all in.

Greatest thing is, wherever I can provide a class instance as a param to a function, and it's not explicitly declared as nullable, then I'm guaranteed I don't have to bother with null checks. So I'm still trying to write all functions so nulls are (explicitly) not allowed.
GeneralRe: .NET and the nullable configuration Pin
Paul Sanders (the other one)4-Apr-23 10:46
Paul Sanders (the other one)4-Apr-23 10:46 
GeneralRe: .NET and the nullable configuration Pin
lmoelleb3-Apr-23 4:10
lmoelleb3-Apr-23 4:10 
GeneralRe: .NET and the nullable configuration Pin
harold aptroot3-Apr-23 5:39
harold aptroot3-Apr-23 5:39 
GeneralRe: .NET and the nullable configuration Pin
jschell3-Apr-23 7:02
jschell3-Apr-23 7:02 
GeneralRe: .NET and the nullable configuration Pin
lmoelleb3-Apr-23 8:55
lmoelleb3-Apr-23 8:55 
GeneralRe: .NET and the nullable configuration Pin
jschell4-Apr-23 5:31
jschell4-Apr-23 5:31 
GeneralRe: .NET and the nullable configuration Pin
lmoelleb4-Apr-23 9:19
lmoelleb4-Apr-23 9:19 
GeneralRe: .NET and the nullable configuration Pin
TNCaver3-Apr-23 7:05
TNCaver3-Apr-23 7:05 
GeneralRe: .NET and the nullable configuration Pin
Chris Maunder3-Apr-23 8:38
cofounderChris Maunder3-Apr-23 8:38 
GeneralRe: .NET and the nullable configuration Pin
Marc Clifton3-Apr-23 12:00
mvaMarc Clifton3-Apr-23 12:00 
GeneralRe: .NET and the nullable configuration Pin
Chris Maunder3-Apr-23 15:34
cofounderChris Maunder3-Apr-23 15:34 
GeneralRe: .NET and the nullable configuration Pin
dazfuller3-Apr-23 20:17
dazfuller3-Apr-23 20:17 
GeneralRe: .NET and the nullable configuration Pin
Vaso Elias4-Apr-23 0:00
Vaso Elias4-Apr-23 0:00 
GeneralRe: .NET and the nullable configuration Pin
Adam O'Neil (Travelers Rest, SC)4-Apr-23 0:22
Adam O'Neil (Travelers Rest, SC)4-Apr-23 0:22 
GeneralRe: .NET and the nullable configuration Pin
rallets4-Apr-23 1:24
rallets4-Apr-23 1:24 
GeneralRe: .NET and the nullable configuration Pin
jschell4-Apr-23 5:37
jschell4-Apr-23 5:37 
GeneralRe: .NET and the nullable configuration Pin
obermd4-Apr-23 4:16
obermd4-Apr-23 4:16 

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.