DEV Community

Discussion on: Every programmer should know these conventions and practices

Collapse
 
fayomihorace profile image
Horace FAYOMI • Edited

I trully agree, sometimes, we are forced to work around, like in python, when we are obliged to import inside a function instead of at the top to avoid circular import. Or in VueJS when we are obliged to access the child vm instance from the parent instead of using props. For those cases, we should leave a comment so others will know that it's not a bad code, just an edge case.

Collapse
 
chasm profile image
Charles F. Munat

Those sound reasonable.