Hacker News new | past | comments | ask | show | jobs | submit login

Why is "On Error Resume Next" terrible, but not-nullable types are praised? With nullable types f.doStuff() will crash if f is null. With non-nullable types f?.doStuff() won't crash if f is null, the doStuff call will be silently dropped. Isn't that just like On Error Resume Next?



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: