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.

 
GeneralRe: if else Style Pin
Gerry Schmitz25-Jan-24 19:01
mveGerry Schmitz25-Jan-24 19:01 
GeneralRe: if else Style Pin
trønderen26-Jan-24 0:16
trønderen26-Jan-24 0:16 
GeneralRe: if else Style PinPopular
Sander Rossel25-Jan-24 20:43
professionalSander Rossel25-Jan-24 20:43 
GeneralRe: if else Style Pin
CPallini25-Jan-24 20:48
mveCPallini25-Jan-24 20:48 
GeneralRe: if else Style Pin
pkfox25-Jan-24 21:10
professionalpkfox25-Jan-24 21:10 
GeneralRe: if else Style Pin
trønderen26-Jan-24 0:28
trønderen26-Jan-24 0:28 
GeneralRe: if else Style Pin
Richard MacCutchan26-Jan-24 1:34
mveRichard MacCutchan26-Jan-24 1:34 
GeneralRe: if else Style Pin
trønderen26-Jan-24 2:23
trønderen26-Jan-24 2:23 
You still do not handle the null case.

True story:

A friend of mine, living here in Norway, is a US citizen. She was pregnant, and planned a recreation trip out of Norway, 3 months after the expected time of birth, with her baby. Even a baby needs a passport. If you live in Norway and apply for a US passport, it can (or at least could in those days, this is 35+ years ago) take half a year to get through the paper mill.

The parents didn't want to know the sex of the baby before the delivery, so when they applied for a passport for the yet unborn baby, they could not state its name. They could not state its birthday. They could not provide a photo of the passport holder. Yet, the US passport authorities did issue a passport to a person of unknown sex, unknown name, unknown birthdate, with no photo or fingerprint.

I am honestly surprised that none of the systems handling that passport application went into a fatal exception Smile | :) Or maybe they did, and it had to be debugged before the passport could be issued. Maybe, 35 years ago, US passports were essentially handled through manual procedures where exceptional conditions were handled by human brains. I am not sure that all of the fully automated passport handling systems we are using today would be able to handle that passport without stumbling and falling over.

Religious freedom is the freedom to say that two plus two make five.

GeneralRe: if else Style Pin
jschell26-Jan-24 5:38
jschell26-Jan-24 5:38 
GeneralRe: if else Style Pin
pkfox26-Jan-24 2:45
professionalpkfox26-Jan-24 2:45 
GeneralRe: if else Style Pin
CPallini26-Jan-24 2:52
mveCPallini26-Jan-24 2:52 
GeneralRe: if else Style Pin
Richard MacCutchan26-Jan-24 3:19
mveRichard MacCutchan26-Jan-24 3:19 
GeneralRe: if else Style Pin
honey the codewitch26-Jan-24 8:13
mvahoney the codewitch26-Jan-24 8:13 
GeneralRe: if else Style Pin
Graeme_Grant26-Jan-24 20:32
mvaGraeme_Grant26-Jan-24 20:32 
GeneralRe: if else Style Pin
k505426-Jan-24 5:51
mvek505426-Jan-24 5:51 
GeneralRe: if else Style Pin
charlieg26-Jan-24 9:58
charlieg26-Jan-24 9:58 
GeneralRe: if else Style Pin
trønderen26-Jan-24 10:21
trønderen26-Jan-24 10:21 
GeneralRe: if else Style Pin
charlieg28-Jan-24 2:27
charlieg28-Jan-24 2:27 
GeneralRe: if else Style Pin
Norm Powroz29-Jan-24 5:36
Norm Powroz29-Jan-24 5:36 
GeneralRe: if else Style Pin
trønderen29-Jan-24 10:38
trønderen29-Jan-24 10:38 
GeneralRe: if else Style Pin
Jörgen Andersson25-Jan-24 21:20
professionalJörgen Andersson25-Jan-24 21:20 
GeneralRe: if else Style Pin
BernardIE531725-Jan-24 21:39
BernardIE531725-Jan-24 21:39 
GeneralRe: if else Style Pin
Richard MacCutchan25-Jan-24 22:22
mveRichard MacCutchan25-Jan-24 22:22 
GeneralRe: if else Style Pin
Amarnath S25-Jan-24 23:38
professionalAmarnath S25-Jan-24 23:38 
GeneralRe: if else Style Pin
BernardIE531725-Jan-24 23:47
BernardIE531725-Jan-24 23:47 

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.