actually hot glue is some pretty advanced engineering lab tech
small board needs a case? make a masking tape mold, fill with hot glue, bonus strain relief included
but yeah glue happens way more than it should in manufacturing, imho