592
blahaj (lemmy.zip)
submitted 4 months ago by Maven@lemmy.zip to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] darklamer@lemmy.dbzer0.com 65 points 4 months ago

We have Unicode these days: blåhaj

[-] NeatNit@discuss.tchncs.de 47 points 4 months ago

Unicode in filenames? Are you crazy?!

Okay that was /s to some extent but I gotta rant, I'm totally convinced that there's still new software today that completely trip over themselves when files or paths have non-ASCII characters, or sometimes even a space. Incompetence didn't go anywhere.

[-] Rubanski@lemm.ee 29 points 4 months ago

I still use underscores for filenames, basically muscle memory at this point

[-] aulin@lemmy.world 12 points 4 months ago

Spaces in file names will always be fiddly though. It'll work, but it'll still be wrong, because arguments are space separated, and having spaced file names totally messes with that.

[-] Fennek@feddit.org 5 points 4 months ago* (last edited 4 months ago)

I try to just always put files names or paths into quotes in CLI or tie it to a variable in programming. This way it also accepts spaces and knows how to separate it from arguments.

[-] aulin@lemmy.world 4 points 4 months ago

Yeah. It's a good idea to guard against it, but I would still never put spaces in filesnames that I myself choose.

load more comments (7 replies)
load more comments (9 replies)
this post was submitted on 16 Jul 2024
592 points (97.4% liked)

Programmer Humor

32472 readers
502 users here now

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

Rules:

founded 5 years ago
MODERATORS