mardi 21 février 2017

Dynamic vs strongly typed elements

I'm a web developer who is currently using mvc3 razor and Umbraco to create web applications. I've not been in this job long, and have moved over from using dynamic to strongly typed elements to follow standards.

Ive never really been given much of a reason, and searching online it seems clear that its much easier to follow and debug set type variables, but I'm confused about using it in functions.

For example, when using Umbraco Content, I've now switched to 1Umbraco.TypedContent1. Im guessing that it returns a strongly typed variable, but are there any other benefits to it other than debugging?

Aucun commentaire:

Enregistrer un commentaire