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.

Amicese
creator
link
fedilink
13M

I agree. I don’t like the “just follow the authority” rhetoric in education.

There’s a fine line between cargo cult programming and utilizing common design practices to ease onboarding and communication.

Cargo Cult? You mean the Rust Evangelism Strike Force?

@Echedenyan@lemmy.ml
cake
link
fedilink
3
edit-2
3M

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.

General Programming Discussion
!programming@lemmy.ml

    A general programming discussion community.

    Rules:

    1. Be civil.

    Other communities:

    • /c/rust
    • /c/python
    • /c/powershell
    • /c/haskell
    • /c/fpcomplete
    • /c/cpp
    • /c/c_programming
    • /c/julia
    • 0 users online
    • 5 users / day
    • 11 users / week
    • 29 users / month
    • 115 users / 6 months
    • 5 subscribers
    • 543 Posts
    • 828 Comments
    • Modlog