DEV Community

Discussion on: Where do you stand on "magic" within languages and frameworks?

Collapse
 
fish1 profile image
Jacob Enders

I tried using .NET core MVC, (for a day). The framework is able to detect the classes you defined, link them to the HTML, magically create routes, and probably much more that I never was exposed to.

Coming from a C/C++ and NodeJS background, this level of abstraction is just uncomfortable to me. I like defining my Classes, instantiating my Object and then passing it to the framework to be used.

Just being able to define a class and have a website popup feels like I'm creating configuration files, not programming.

But too be fair, I do tend to write a lot of the same boiler plate setup code on every Node application I build.