DEV Community

Discussion on: From Javascript to Python

Collapse
 
robertomaurizzi profile image
Roberto Maurizzi

Well, it's much better than moving the other way around like I'm doing: less node_modules 'black holes' since you can do basic things like deep-copying objects out of the box and the language works without transpiling the heck out of it... 😂
I guess you'll still have much JS on the frontend that uses Django to access APIs created with Django REST Framework.
I'm curious, do you use any "DRY" approach/library so that you don't have to write the same checks in both Python and JavaScript?

Collapse
 
mateiadrielrafael profile image
Matei Adriel

You gotta try out pnpm! Its like npm but it doesnt install things more than once per machine:)