DEV Community

Discussion on: Trivia #1: Who cursed us with 'foo bar'?

Collapse
 
sylwiavargas profile image
Sylwia Vargas

Totally! I’m a huge advocate of naming your functions, objects and variables descriptively :)

Collapse
 
axelledrouge profile image
AxelleDRouge

Like many of us. How many articles on naming is there on dev.to ? probably a lot!
Which is why foo and bar should be banned. Good practices on naming right from the start and everywhere

Thread Thread
 
sylwiavargas profile image
Sylwia Vargas

I grew very frustrated recently with a documentation where they used “foo bar” a lot and started wondering where these nonsensical words came from 😓 maybe we should write an extension that replaces metasyntactic variables with ones that have some logical relationship to each other ¯_(ツ)_/¯