{"id":2744,"date":"2022-10-24T22:00:14","date_gmt":"2022-10-24T21:00:14","guid":{"rendered":"https:\/\/marcosrego.com\/account\/?p=2744"},"modified":"2022-12-24T15:00:40","modified_gmt":"2022-12-24T15:00:40","slug":"variables-to-avoid","status":"publish","type":"post","link":"https:\/\/marcosrego.com\/account\/blog\/variables-to-avoid\/","title":{"rendered":"Please avoid these variables! Better practices…"},"content":{"rendered":"\n
Even if variables suggest changes, I’ve found developers using the name $white. In this post, I’ll share a name convention to avoid future problems.<\/p>\n\n\n\n\n\n\n\n
Variables are very handy strings that, as the name suggests, can vary or change one day. They can be called from many places and in many ways to be used and reused (depending on the coding language).<\/p>\n\n\n\n
What makes them handy is: When you need to change one, you only need to change its value in one place, the new value will then pass to every location where you called the variable, by its name.<\/p>\n\n\n\n