this post was submitted on 08 Sep 2025
803 points (99.1% liked)

Programmer Humor

26220 readers
2055 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] BilboBargains@lemmy.world 10 points 12 hours ago

If you ask copilot to return a directory tree using MATLAB script it writes a function using a for loop and about 20 lines of code. Meanwhile the documentation defines this task as

dir("*")