DEV Community

Discussion on: How I finally understood what a class is

Collapse
 
mortoray profile image
edA‑qa mort‑ora‑y

The "prefix" variable pattern is one I mention often in the interviews I do. It's a strong indicator that there's a class hiding in your code: anytime you have multiple sets of variables with a common prefix, or suffix.