PHP e Javascript sono il flagello dell'informatica. Per fortuna hanno fatto Typescript.