. Happend. I made a mistake and I am straightening it up publicly. If you were following either my code or my posts carefully, you probably noticed I referred to environmental values a lot. From everywhere. That isn’t a good practice, in fact, it’s terrible, to follow that pattern. From different reasons, which I won’t be covering in this post.

What I will say, is that it doesn’t mean to not use them at all. In fact, I still am by myself. What I do is I wrap all my environmental variables into one config file. That way, you can still declare vals in your startup process, and have them together with all other useful configs at one file. One variable. One import.

Written by

JavaScript Developer. Email me at me@polethedev.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store