• Skullgrid@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    ah ok , I think I write this a bit more verbose when using other languages, instead of

    if(thing)
    {
       stuff;
    }
    
    

    I do

    
    if(thing != null)
    {
       stuff;
    }
    

    so checking for numbers being truthy & existing didn’t seem like an issue