vtr@programming.devtoProgramming@programming.dev•A quick tip for better variable namesEnglish
31·
1 year agoThat seems akin to commenting. The problem with this approach is that text is not code. It’s very easy to forget to change text. In that case it becomes the worst of both worlds, you have a variable name that actually misleads you.
Much safer than this is to encode this kind of information into the code itself in such a way the program won’t compile of the types are incorrect.
You’re probably confounding revenue with profit. I’m not sure about Plex in particular, but it’s completely possible to have millions in revenue and actually be in the red