DEV Community

Discussion on: Why are you actually using variables?

Collapse
 
codevault profile image
Sergiu Mureşan

Sorry if it came out that way.

I made this video because I saw that many programmers were using variables haphazardly in a manner that made code overly complicated.

The video is made for the purpose of thinking more deeply when creating new variables. "How can I pass this data around?", "Oh, nevermind, I will just make a variable for it". No. That's not how you should do it.

In this video I am giving 4 valid reasons to use variables (surely there are more, but these should encompass most of the use cases).