Question on the moment, seen in someone else's layout. In it, jQuery scripts are not collected in the head, but scattered around the layout in the places where they are used (sliders and other elements). Such an arrangement of scripts is not an error, as I understand it, although it makes it difficult to read the code, but each script starts with
Is it a mistake to call this function many times? Does this cause any problems?