198
submitted 4 days ago* (last edited 4 days ago) by SwordInStone@lemmy.world to c/programming@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] kubica@fedia.io 45 points 4 days ago

I don't quite agree that for a beginer being presented with

sudo apt update && \
  sudo apt install --yes software-properties-common && \
  sudo add-apt-repository --yes ppa:deadsnakes/ppa && \
  sudo apt install --yes python3.9

is better than

sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.9

All those symbols and "--yes" used to feel quite cryptic to me.

[-] Randelung@lemmy.world 6 points 3 days ago

It's not the same, though. One will stop if a previous command fails, the other will continue.

load more comments (5 replies)
this post was submitted on 05 Jan 2025
198 points (98.1% liked)

Programming

17765 readers
532 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS