korthrun,
@korthrun@lemmy.sdf.org avatar

Don’t follow tutorials, understand them. I’m so tired of seeing useless uses of cat because some asshole writing a tutorial 20 years ago decided to illustrate how pipes work with a good ol cat file | grep string as if grep didn’t take a file name as an argument.

The more time I spend being mad about this the more I notice people using horrible practices in tutorials because they’re too lazy to setup a legit use case.

A new user sees this and thinks this is how grep works.

Loops are another common one. People going around not knowing you can pass a glob to a shell for loop. Because the tutorial they read was lazily written and they didn’t bother to understand the bits of what they were being shown, only how to reproduce/mangle the command until they manage to get close enough to what they want out of it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • operating_systems@beehaw.org
  • random
  • meta
  • Macbeth
  • All magazines