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

 
AnswerRe: C Sharps - how are you getting on with nullable reference types? Pin
OriginalGriff16-Dec-20 0:07
mveOriginalGriff16-Dec-20 0:07 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Nelek16-Dec-20 0:18
protectorNelek16-Dec-20 0:18 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Rob Philpott16-Dec-20 0:32
Rob Philpott16-Dec-20 0:32 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Mladen Janković16-Dec-20 2:38
Mladen Janković16-Dec-20 2:38 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
honey the codewitch16-Dec-20 4:29
mvahoney the codewitch16-Dec-20 4:29 
AnswerRe: C Sharps - how are you getting on with nullable reference types? Pin
lmoelleb16-Dec-20 0:33
lmoelleb16-Dec-20 0:33 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Rob Philpott16-Dec-20 0:41
Rob Philpott16-Dec-20 0:41 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
lmoelleb16-Dec-20 2:58
lmoelleb16-Dec-20 2:58 
No one is arguing against null being a useful paradigm. And now we have the syntax to tell if the paradigm is used or not.

This serves two purposes:
1) Communicate intent. You can see from the type of my method if you need to handle a null being returned. You can see by the parameter definition if my code can handle a null being passed in.
2) Compiler can catch more mistakes.

Either of these would be more than enough for me to use nullable - with both of these... don't get why you would not use it on any new code. Legacy code is of course always an issue... when to (and if) make the investment to change it.
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Rob Philpott16-Dec-20 3:44
Rob Philpott16-Dec-20 3:44 
AnswerRe: C Sharps - how are you getting on with nullable reference types? Pin
Daniel Pfeffer16-Dec-20 0:40
professionalDaniel Pfeffer16-Dec-20 0:40 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Rob Philpott16-Dec-20 0:42
Rob Philpott16-Dec-20 0:42 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Nelek16-Dec-20 2:29
protectorNelek16-Dec-20 2:29 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
honey the codewitch16-Dec-20 4:32
mvahoney the codewitch16-Dec-20 4:32 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Greg Utas16-Dec-20 3:17
mveGreg Utas16-Dec-20 3:17 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Daniel Pfeffer16-Dec-20 5:43
professionalDaniel Pfeffer16-Dec-20 5:43 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Greg Utas16-Dec-20 6:12
mveGreg Utas16-Dec-20 6:12 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Mladen Janković16-Dec-20 6:44
Mladen Janković16-Dec-20 6:44 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Greg Utas16-Dec-20 6:49
mveGreg Utas16-Dec-20 6:49 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Mladen Janković16-Dec-20 6:58
Mladen Janković16-Dec-20 6:58 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Greg Utas16-Dec-20 7:04
mveGreg Utas16-Dec-20 7:04 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Daniel Pfeffer16-Dec-20 6:54
professionalDaniel Pfeffer16-Dec-20 6:54 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Mladen Janković16-Dec-20 7:00
Mladen Janković16-Dec-20 7:00 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Greg Utas16-Dec-20 7:08
mveGreg Utas16-Dec-20 7:08 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Gerry Schmitz16-Dec-20 6:37
mveGerry Schmitz16-Dec-20 6:37 
AnswerRe: C Sharps - how are you getting on with nullable reference types? Pin
PIEBALDconsult16-Dec-20 4:00
professionalPIEBALDconsult16-Dec-20 4:00 

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.


Straw Poll

An amazing AI programming tool is invented that can do one task perfectly. What would you choose?
  Results   576 votes