355
you are viewing a single comment's thread
view the rest of the comments
[-] wizardbeard@lemmy.dbzer0.com 24 points 2 weeks ago

PowerShell does that by default, and it's my least favorite feature in my most used language.

$ErrorActionPreference = Stop

At the start of almost every script.

this post was submitted on 17 Jan 2025
355 points (100.0% liked)

Programmer Humor

33243 readers
861 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS