• Skullgrid@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    5 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