this post was submitted on 31 Oct 2026
141 points (98.0% liked)

Programming

29091 readers
420 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 3 years ago
MODERATORS
 

"Paid collaboration" my ass. More like, let me pay you a pittance and sell your knowledge for 100x.

you are viewing a single comment's thread
view the rest of the comments
[–] shalafi@lemmy.world 3 points 5 hours ago* (last edited 5 hours ago)

The moment Musk said that my jaw dropped. I didn't follow the guy, knew he wasn't the genius he said he was, but that drove the final nail in my opinion. Fuck me, I can carely "code" PowerShell, but I know the goal is short, easy to read, elegant code. We're I working at Twitter at the time,

# This code creates the log file

# We're not going to check if it exists

# because we want to start with a fresh log each time this runs

# so we'll overwrite the old log, if there was one

# because we don't care in this case

$LOG_FILE = "C:\Scripts\Logs\Archive-Documents.log"

# Now we have a log file.

BAM! 9 lines from 1! I'm awesome!