Oh great. Another bad practice I have to avoid.
Just don’t do stuff you don’t understand just because someone has told you to or because you observed someone do it who you think knows better.
Always take advice and especially rules with a grain of salt. You shouldn’t blindly follow them but try to understand why they work because then you also know when they might not.
I agree. I don’t like the “just follow the authority” rhetoric in education.
Cargo Cult? You mean the Rust Evangelism Strike Force?
There’s a fine line between cargo cult programming and utilizing common design practices to ease onboarding and communication.
It happens to me a lot.
Mostly when a language requires you to do something special. I use to apply it to all cases sometimes.
It happens with “Fragments” of React, only applied when you want to return more than one tag.