I am studying the elevator now. When I read about templates, I realized that they have a lot of things that are not checked at compile time:
Are there any alternatives to make these problems less serious, i.e. external code verification or parameters in the library that would allow to do the same, but with a safe type? Or maybe there is another web structure that is more strict in this regard (maybe in another language).
- , Scala Java, . Banana, Meat, String Int. , , Ruby Javascript,
, , . , , , , .
, , :
public boolean isTrue(boolean value){ return !value; }
, , ?
<!-- importing a snippet depending on the value of a variable --> <import src="${snippetName}.xml"/>
, . .