minus-squaremilon@lemm.eeOPtoProgramming@programming.dev•Why does a control path not execute in this function?linkfedilinkarrow-up0·1 year agoAh I see. I had a bad habit of using else if statements instead of else statements because I thought else if could be better in seeing the condition it’s testing for so it was clearer. I get the logic is actually different now. linkfedilink
milon@lemm.ee to Programming@programming.dev · 1 year agoWhy does a control path not execute in this function?plus-squaremessage-squaremessage-square4fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1message-squareWhy does a control path not execute in this function?plus-squaremilon@lemm.ee to Programming@programming.dev · 1 year agomessage-square4fedilink
milon@lemm.ee to Programming@programming.dev · edit-21 year agoWhat is this format specifier?plus-squaremessage-squaremessage-square5fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1message-squareWhat is this format specifier?plus-squaremilon@lemm.ee to Programming@programming.dev · edit-21 year agomessage-square5fedilink
Ah I see. I had a bad habit of using else if statements instead of else statements because I thought else if could be better in seeing the condition it’s testing for so it was clearer. I get the logic is actually different now.