Re:Problems with Python
by adontz on Saturday July 24, 2021 @01:38PM
(#27942887)
And to make it clear, if you pass method/attribute/property/field names here and there as strings, you have some kind of dynamic typing. QML, XAML, Jinja, Handlebars, Razor, everything is dynamically typed and more than this, duck typed, because one rarely needs to implement some kind of interface, except maybe basic dynamic typing support, like QObject, INotifyPropertyChange or DependencyObject.
[ Parent
| on HN ]
Can you explain how Razor is dynamic? Do you have an example? Last I used Razor, you defined the statically-typed model at the start of the file then had strongly typed references throughout the page.